/* * Pushes this table into the Lua stack */ internal void push(IntPtr luaState) { LuaDLL.lua_getref(luaState, _Reference); }
public static void GetPackBounds(IntPtr L) { LuaState state = LuaState.Get(L); LuaDLL.lua_getref(L, state.PackBounds); }
public void LuaGetRef(int reference) { LuaDLL.lua_getref(L, reference); }
public static void GetPackRaycastHit(IntPtr L) { LuaState state = LuaState.Get(L); LuaDLL.lua_getref(L, state.PackRaycastHit); }
public static void GetPackTouch(IntPtr L) { LuaState state = LuaState.Get(L); LuaDLL.lua_getref(L, state.PackTouch); }
public static void GetUnpackRayRef(IntPtr L) { LuaState state = LuaState.Get(L); LuaDLL.lua_getref(L, state.UnpackRay); }
public static void GetPackRay(IntPtr L) { GLuaState state = GLuaState.Get(L); LuaDLL.lua_getref(L, state.PackRay); }
public static void GetUnpackBounds(IntPtr L) { GLuaState state = GLuaState.Get(L); LuaDLL.lua_getref(L, state.UnpackBounds); }
/* * Pushes this table into the Lua stack */ internal void push(KopiLua.Lua.lua_State luaState) { LuaDLL.lua_getref(luaState, _Reference); }
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); }