C# Class WinterSync.LuaFunction

Inheritance: LuaValue
Afficher le fichier Open project: ZeroK-RTS/SpringRTS-Tools

Méthodes publiques

Méthode Description
Call ( IntPtr L, int resultNumber ) : WinterSync.LuaValue[]
CallGlobal ( IntPtr L, string functionName, int resultNumber ) : WinterSync.LuaValue[]
Check ( IntPtr L, int n ) : void
KeepAlive ( ) : void

Store functions delegates so the CLR won't garbage collect them (it can't know they are still in use in the Lua VM).

LuaFunction ( Lua value ) : System
Push ( IntPtr L ) : void

Method Details

Call() public static méthode

public static Call ( IntPtr L, int resultNumber ) : WinterSync.LuaValue[]
L System.IntPtr
resultNumber int
Résultat WinterSync.LuaValue[]

CallGlobal() public static méthode

public static CallGlobal ( IntPtr L, string functionName, int resultNumber ) : WinterSync.LuaValue[]
L System.IntPtr
functionName string
resultNumber int
Résultat WinterSync.LuaValue[]

Check() public static méthode

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

KeepAlive() public méthode

Store functions delegates so the CLR won't garbage collect them (it can't know they are still in use in the Lua VM).
public KeepAlive ( ) : void
Résultat void

LuaFunction() public méthode

public LuaFunction ( Lua value ) : System
value Tao.Lua.Lua
Résultat System

Push() public méthode

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