static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { DCET.Hotfix.NetOuterComponentAwake1System gen_ret = new DCET.Hotfix.NetOuterComponentAwake1System(); translator.Push(L, 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 DCET.Hotfix.NetOuterComponentAwake1System constructor!")); }
static int _m_Awake(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); DCET.Hotfix.NetOuterComponentAwake1System gen_to_be_invoked = (DCET.Hotfix.NetOuterComponentAwake1System)translator.FastGetCSObj(L, 1); { DCET.Model.NetOuterComponent _self = (DCET.Model.NetOuterComponent)translator.GetObject(L, 2, typeof(DCET.Model.NetOuterComponent)); string _address = LuaAPI.lua_tostring(L, 3); gen_to_be_invoked.Awake(_self, _address); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }