C# Class WinterSync.LuaTable

Inheritance: LuaValue
Datei anzeigen Open project: ZeroK-RTS/SpringRTS-Tools

Public Methods

Method Description
Check ( IntPtr L, int n ) : void
GetField ( IntPtr L, LuaValue key ) : LuaValue

expects table on top returns field from table on top of stack

LuaTable ( LuaValue>.IEnumerable values ) : System
LuaTable ( IntPtr L, int n ) : System

expects table at position n

Push ( IntPtr L ) : void

Does not support circular tables

SetField ( IntPtr L, LuaValue key, LuaValue value ) : void

expects table on top

Method Details

Check() public static method

public static Check ( IntPtr L, int n ) : void
L System.IntPtr
n int
return void

GetField() public static method

expects table on top returns field from table on top of stack
public static GetField ( IntPtr L, LuaValue key ) : LuaValue
L System.IntPtr
key LuaValue
return LuaValue

LuaTable() public method

public LuaTable ( LuaValue>.IEnumerable values ) : System
values LuaValue>.IEnumerable
return System

LuaTable() public method

expects table at position n
public LuaTable ( IntPtr L, int n ) : System
L System.IntPtr
n int
return System

Push() public method

Does not support circular tables
public Push ( IntPtr L ) : void
L System.IntPtr
return void

SetField() public static method

expects table on top
public static SetField ( IntPtr L, LuaValue key, LuaValue value ) : void
L System.IntPtr
key LuaValue
value LuaValue
return void