static int _g_get_latestHistory(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BattleServer.Battle.FrameActionMgr __cl_gen_to_be_invoked = (BattleServer.Battle.FrameActionMgr)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.latestHistory); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { BattleServer.Battle.FrameActionMgr __cl_gen_ret = new BattleServer.Battle.FrameActionMgr(); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to BattleServer.Battle.FrameActionMgr constructor!")); }