コード例 #1
0
 internal ScriptFunction(ScriptState luaState, int reference)
 {
     _reference = LuaCore.GetRef(luaState, reference);
     _luaState  = luaState;
 }
コード例 #2
0
 internal ScriptFunction(ScriptState luaState, ScriptFunctionHandler func)
 {
     _luaState  = luaState;
     _func      = func;
     _reference = -1;
 }
コード例 #3
0
ファイル: Table.cs プロジェクト: HarryCU/QwLua
 internal void Push(ScriptState luaState)
 {
     LuaCore.GlobalRawGet(luaState, _index);
 }