This repository has been archived by the owner on Nov 18, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
/
LuaOxideSTL.Designer.cs
371 lines (352 loc) · 13.8 KB
/
LuaOxideSTL.Designer.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18408
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Oxide {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class LuaOxideSTL {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal LuaOxideSTL() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Oxide.LuaOxideSTL", typeof(LuaOxideSTL).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to -- Oxide - Lua Standard Library
///-- baseplugin.lua - All plugins inherit this one
///
///local BASE = {}
///local metaPlugin = {}
///metaPlugin.__index = BASE
///BasePlugin = BASE
///
///function BASE:BaseInit()
/// self.Commands = {}
/// self.ChatCommands = {}
///end
///function BASE:AddCommand( class, name, callback )
/// local data = {}
/// data.Class = class
/// data.Name = name
/// data.Callback = callback
/// self.Commands[ class .. "." .. name ] = data
///end
///function BASE:AddChatCommand( cmd, callback )
/// self.ChatCommands[ cmd ] = [rest of string was truncated]";.
/// </summary>
internal static string baseplugin {
get {
return ResourceManager.GetString("baseplugin", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to -- Oxide - Lua Standard Library
///-- config.lua - Config library
///
///
///config = {}
///local configfiles = {}
///
///function config.Read( name )
/// local df = cs.getdatafile( "cfg_" .. name )
/// local txt = df:GetText()
/// if (txt ~= "") then
/// local tbl = json.decode( txt )
/// if (tbl) then
/// configfiles[ name ] = tbl
/// return true, tbl
/// else
/// error( "Corrupt config file '" .. name .. "'! Check that the json is valid." )
/// return false
/// end
/// end
/// local tbl = {}
/// configfiles[ name ] = tbl
/// return fal [rest of string was truncated]";.
/// </summary>
internal static string config {
get {
return ResourceManager.GetString("config", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to -- Oxide - Lua Standard Library
///-- csfunc.lua - c# <-> lua interop
///
///
///-- Cache globals for speed
///local table = table
///local oldcs = cs
///
///local unpack = table.unpack
///local rawget = rawget
///
///
///function print( ... )
/// local args = { ... }
/// local result = ""
/// for i=1, #args do
/// if (i > 1) then result = result .. " " end
/// result = result .. tostring( args[i] )
/// end
/// oldcs.print( result )
///end
///
///function error( obj )
/// oldcs.error( tostring( obj ) )
///end
///
///function callunpacked( func, argtable ) /// [rest of string was truncated]";.
/// </summary>
internal static string csfunc {
get {
return ResourceManager.GetString("csfunc", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to -- Module options:
/// local always_try_using_lpeg = false
/// local register_global_module_table = true
/// local global_module_name = 'json'
///
/// --[==[
///
///David Kolf's JSON module for Lua 5.1/5.2
///========================================
///
///*Version 2.4*
///
///In the default configuration this module writes no global values, not even
///the module table. Import it using
///
/// json = require ("dkjson")
///
///In environments where `require` or a similiar function are not available
///and you cannot receive [rest of string was truncated]";.
/// </summary>
internal static string json {
get {
return ResourceManager.GetString("json", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to -- Oxide - Lua Standard Library
///-- plugins.lua - Plugins and api system
///
///plugins = {}
///
///function plugins.Find( name )
/// return cs.findplugin( name )
///end
///function plugins.Call( name, ... )
/// local args = { ... }
/// return cs.callplugins( name, args, #args )
///end
///function plugins.Reload( name )
/// cs.reloadplugin( name )
///end
///
///api = {}
///local apibindings = {}
///function api.Bind( plugin, apiname )
/// if (apibindings[ apiname ]) then
/// error( "Conflict: more than 1 plugin tried to bind to the same API! ( [rest of string was truncated]";.
/// </summary>
internal static string plugins {
get {
return ResourceManager.GetString("plugins", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to -- Oxide - Lua Standard Library
///-- rust.lua - Provides an interface for standard rust functions
///
///local KindType = cs.gettype( "Inventory+Slot+Kind, Assembly-CSharp" )
///local KindFlagsType = cs.gettype( "Inventory+Slot+KindFlags, Assembly-CSharp" )
///
///typesystem.LoadEnum( KindType, "InventorySlotKind" )
///typesystem.LoadEnum( KindFlagsType, "InventorySlotKindFlags" )
///
///--local RustNoticePopup = static( Rust.Rust.Notice, "Popup" )
///--local PlayerClientAll = static_property_get( RustFirstPass.PlayerClient, [rest of string was truncated]";.
/// </summary>
internal static string rust {
get {
return ResourceManager.GetString("rust", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to -- Oxide - Lua Standard Library
///-- timer.lua - timer library
///
///
///timer = {}
///
///function timer.Once( delay, func )
/// return cs.newtimer( delay, 1, func )
///end
///function timer.NextFrame( func )
/// return timer.Once( 0, func )
///end
///function timer.Repeat( delay, arg1, arg2 )
/// if (arg2) then
/// return cs.newtimer( delay, arg1, arg2 )
/// else
/// return cs.newtimer( delay, 0, arg1 )
/// end
///end
///function timer.Chain( ... )
/// local args = { ... }
/// local start = 0
/// local timers = {}
/// for i=1, #args do
/// local a [rest of string was truncated]";.
/// </summary>
internal static string timer {
get {
return ResourceManager.GetString("timer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to -- Oxide - Lua Standard Library
///-- type.lua - Type system
///
///local rawget = rawget
///local rawset = rawset
///
///typesystem = {}
///
///local metaType = {}
///function metaType.__index( t, k )
/// -- This is the index metamethod for a namespace'd type
/// -- eg: RustFirstPass.NetUser[ k ]
/// -- We should look for static methods, properties and fields
///
/// -- Check if we have a property by this name
/// local props = rawget( t, "_properties" )
/// local property = props[ k ]
/// if (property) then return property:GetValue( nil, [rest of string was truncated]";.
/// </summary>
internal static string type {
get {
return ResourceManager.GetString("type", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to -- Oxide - Lua Standard Library
///-- util.lua - Util library
///
///
///util = {}
///
///function util.ArrayToTable( arr )
/// local tbl = {}
/// for i=0, arr.Length do
/// tbl[ i + 1 ] = arr[ i ]
/// end
/// return tbl
///end
///function util.ArrayFromTable( typ, tbl, sz )
/// local arr = newarray( typ, sz or #tbl )
/// for i=1, #tbl do
/// arr[i - 1] = tbl[i]
/// end
/// return arr
///end
///
///function util.GetStaticMethod( typ, name )
/// typ = typesystem.TypeFromMetatype( typ )
/// tmp = nil
/// if (type( typ ) == "table") then
/// error( "Tried [rest of string was truncated]";.
/// </summary>
internal static string util {
get {
return ResourceManager.GetString("util", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to -- Oxide - Lua Standard Library
///-- validate.lua - validate library
///
///
///validate = {}
///
///local function MatchType( obj, template )
/// if (obj == nil) then return template == "any" or template == "nil" end
/// if (type( obj ) == template) then return true
/// local typ = typesystem.GetTypeFromMetatype( template )
/// if (obj.GetType) then return obj:GetType() == typ end
/// return false
///end
///
///local function TypeToString( template )
/// if (type( template ) == "string") then
/// return template
/// else
/// local typ = t [rest of string was truncated]";.
/// </summary>
internal static string validate {
get {
return ResourceManager.GetString("validate", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to -- Oxide - Lua Standard Library
///-- webrequest.lua - webrequest library
///
///
///webrequest = {}
///
///function webrequest.Send( url, callback )
/// return cs.sendwebrequest( url, callback )
///end.
/// </summary>
internal static string webrequest {
get {
return ResourceManager.GetString("webrequest", resourceCulture);
}
}
}
}