lua_getref() public static method

public static lua_getref ( IntPtr luaState, int reference ) : void
luaState System.IntPtr
reference int
return void
示例#1
0
 /*
  * Pushes this table into the Lua stack
  */
 internal void push(IntPtr luaState)
 {
     LuaDLL.lua_getref(luaState, _Reference);
 }
示例#2
0
        public static void GetPackBounds(IntPtr L)
        {
            LuaState state = LuaState.Get(L);

            LuaDLL.lua_getref(L, state.PackBounds);
        }
示例#3
0
 public void LuaGetRef(int reference)
 {
     LuaDLL.lua_getref(L, reference);
 }
示例#4
0
        public static void GetPackRaycastHit(IntPtr L)
        {
            LuaState state = LuaState.Get(L);

            LuaDLL.lua_getref(L, state.PackRaycastHit);
        }
示例#5
0
        public static void GetPackTouch(IntPtr L)
        {
            LuaState state = LuaState.Get(L);

            LuaDLL.lua_getref(L, state.PackTouch);
        }
示例#6
0
        public static void GetUnpackRayRef(IntPtr L)
        {
            LuaState state = LuaState.Get(L);

            LuaDLL.lua_getref(L, state.UnpackRay);
        }
示例#7
0
        public static void GetPackRay(IntPtr L)
        {
            GLuaState state = GLuaState.Get(L);

            LuaDLL.lua_getref(L, state.PackRay);
        }
示例#8
0
        public static void GetUnpackBounds(IntPtr L)
        {
            GLuaState state = GLuaState.Get(L);

            LuaDLL.lua_getref(L, state.UnpackBounds);
        }
示例#9
0
 /*
  * Pushes this table into the Lua stack
  */
 internal void push(KopiLua.Lua.lua_State luaState)
 {
     LuaDLL.lua_getref(luaState, _Reference);
 }
示例#10
0
 public static void lua_pushcsfunction(IntPtr luaState, LuaCSFunction function)
 {
     LuaDLL.lua_getref(luaState, SLua.LuaState.PCallCSFunctionRef);
     LuaDLL.lua_pushcclosure(luaState, Marshal.GetFunctionPointerForDelegate(function), 0);
     LuaDLL.lua_call(luaState, 1, 1);
 }