static int _m_SendMessage_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); { MikuLuaProfiler.NetBase _sample = (MikuLuaProfiler.NetBase)translator.GetObject(L, 1, typeof(MikuLuaProfiler.NetBase)); MikuLuaProfiler.NetWorkClient.SendMessage(_sample); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_Restore(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); MikuLuaProfiler.NetBase gen_to_be_invoked = (MikuLuaProfiler.NetBase)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.Restore( ); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }