메소드 | 설명 | |
---|---|---|
CreateTable ( ) : LuaSharp.LuaTable |
Creates a new table in the state.
|
|
CreateTable ( int initialArrayCapacity, int initialNonArrayCapacity ) : LuaSharp.LuaTable |
Creates the table.
|
|
Dispose ( ) : void |
Releases all resource used by the LuaSharp.Lua object. Call Dispose when you are finished using the LuaSharp.Lua. The Dispose method leaves the LuaSharp.Lua in an unusable state. After calling Dispose, you must release all references to the LuaSharp.Lua so the garbage collector can reclaim the memory that the LuaSharp.Lua was occupying. |
|
DoFile ( string filename ) : void |
Executes the code contained in a file.
|
|
DoString ( string chunk ) : void |
Executes a literal chunk of Lua code.
|
|
GetValue ( ) : object |
Returns the value at the given path.
|
|
Lua ( ) : System |
Creates a new instance of the Lua class.
|
|
SetLibraryPath ( string path ) : void |
Sets the path where the Lua state looks for `requires` files. Paths should be separated by a semicolon, and contain a single question mark `?` where the name of the required library should be substituted. |
|
SetValue ( object o ) : void |
Sets the object at path defined by fragments to the object o.
|
|
this ( ) : object |
Gets or sets the a Lua object with the specified path.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases all resource used by the LuaSharp.Lua object. Call Dispose when you are finished using the LuaSharp.Lua. The Dispose method leaves the LuaSharp.Lua in an unusable state. After calling Dispose, you must release all references to the LuaSharp.Lua so the garbage collector can reclaim the memory that the LuaSharp.Lua was occupying. |
public CreateTable ( int initialArrayCapacity, int initialNonArrayCapacity ) : LuaSharp.LuaTable | ||
initialArrayCapacity | int | /// The initial capacity for array elements. /// |
initialNonArrayCapacity | int | /// THe initial capacity for non-array elements. /// |
리턴 | LuaSharp.LuaTable |
public DoFile ( string filename ) : void | ||
filename | string |
/// A |
리턴 | void |
public DoString ( string chunk ) : void | ||
chunk | string |
/// A |
리턴 | void |
public SetLibraryPath ( string path ) : void | ||
path | string | /// The library path. /// |
리턴 | void |