public LuaState(IntPtr lua) { this.m_lua = lua; m_GlobalState = this; this.m_pfnPanic = LuaState.Lua_Panic; this.m_pfnDispatch = LuaState.Lua_DispatchFun; LuaAPI.lua_atpanic(this.m_lua, this.m_pfnPanic); }