C# Class WinterSync.LuaValue

Afficher le fichier Open project: ZeroK-RTS/SpringRTS-Tools Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

GetGlobal() public static méthode

public static GetGlobal ( IntPtr L, string name ) : LuaValue
L System.IntPtr
name string
Résultat LuaValue

GetLuaValues() public méthode

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

GetStringField() public méthode

public GetStringField ( string key ) : string
key string
Résultat string

Pop() public static méthode

public static Pop ( IntPtr L, int n ) : void
L System.IntPtr
n int
Résultat void

Push() public abstract méthode

public abstract Push ( IntPtr L ) : void
L System.IntPtr
Résultat void

Read() public static méthode

public static Read ( IntPtr L, int n ) : LuaValue
L System.IntPtr
n int
Résultat LuaValue