static int _s_set_type(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); MikuLuaProfiler.LuaRefInfo gen_to_be_invoked = (MikuLuaProfiler.LuaRefInfo)translator.FastGetCSObj(L, 1); gen_to_be_invoked.type = (byte)LuaAPI.xlua_tointeger(L, 2); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _g_get_addr(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); MikuLuaProfiler.LuaRefInfo gen_to_be_invoked = (MikuLuaProfiler.LuaRefInfo)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, gen_to_be_invoked.addr); } 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) { MikuLuaProfiler.LuaRefInfo gen_ret = new MikuLuaProfiler.LuaRefInfo(); 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 MikuLuaProfiler.LuaRefInfo constructor!")); }
static int _m_Restore(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); MikuLuaProfiler.LuaRefInfo gen_to_be_invoked = (MikuLuaProfiler.LuaRefInfo)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)); } }
static int _m_Create_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); { byte _cmd = (byte)LuaAPI.xlua_tointeger(L, 1); string _name = LuaAPI.lua_tostring(L, 2); string _addr = LuaAPI.lua_tostring(L, 3); byte _type = (byte)LuaAPI.xlua_tointeger(L, 4); MikuLuaProfiler.LuaRefInfo gen_ret = MikuLuaProfiler.LuaRefInfo.Create(_cmd, _name, _addr, _type); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }