C# Class WinterSync.LuaValue

Show file Open project: ZeroK-RTS/SpringRTS-Tools Class Usage Examples

Public Methods

Method Description
GetField ( string key ) : LuaValue

/// returns value that corresponds to a key from a LuaValue.Table map

GetGlobal ( IntPtr L, string name ) : LuaValue
GetLuaValues ( string key ) : WinterSync.LuaValue[]

/// extracts the the values (and not the keys) from a LuaValue.Table

GetStringField ( string key ) : string
Pop ( IntPtr L, int n ) : void
Push ( IntPtr L ) : void
Read ( IntPtr L, int n ) : LuaValue

Method Details

GetField() public method

/// returns value that corresponds to a key from a LuaValue.Table map
public GetField ( string key ) : LuaValue
key string
return LuaValue

GetGlobal() public static method

public static GetGlobal ( IntPtr L, string name ) : LuaValue
L System.IntPtr
name string
return LuaValue

GetLuaValues() public method

/// extracts the the values (and not the keys) from a LuaValue.Table
public GetLuaValues ( string key ) : WinterSync.LuaValue[]
key string
return WinterSync.LuaValue[]

GetStringField() public method

public GetStringField ( string key ) : string
key string
return string

Pop() public static method

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

Push() public abstract method

public abstract Push ( IntPtr L ) : void
L System.IntPtr
return void

Read() public static method

public static Read ( IntPtr L, int n ) : LuaValue
L System.IntPtr
n int
return LuaValue