static int _g_get_Act(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.CEventActorArgs __cl_gen_to_be_invoked = (xc.CEventActorArgs)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.Act); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 2 && translator.Assignable <Actor>(L, 2)) { Actor act = (Actor)translator.GetObject(L, 2, typeof(Actor)); xc.CEventActorArgs __cl_gen_ret = new xc.CEventActorArgs(act); 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 xc.CEventActorArgs constructor!")); }