#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; namespace XLua.CSObjectWrap { using Utils = XLua.Utils; public class SnxxzUIDogzDungeonModelWrap { public static void __Register(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); System.Type type = typeof(Snxxz.UI.DogzDungeonModel); Utils.BeginObjectRegister(type, L, translator, 0, 19, 10, 10); Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit); Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetBossData", _m_TryGetBossData); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetNpcIds", _m_GetNpcIds); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBosses", _m_GetBosses); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRecommendNpc", _m_GetRecommendNpc); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRecommendKillElite", _m_GetRecommendKillElite); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsBossUnLocked", _m_IsBossUnLocked); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RequestBoxAndEliteSurplusInfo", _m_RequestBoxAndEliteSurplusInfo); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RequestBoxSurplusInfo", _m_RequestBoxSurplusInfo); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RequestEliteSurplusInfo", _m_RequestEliteSurplusInfo); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateMonsterSurplusInfo", _m_UpdateMonsterSurplusInfo); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateBoxOrEliteRefreshTime", _m_UpdateBoxOrEliteRefreshTime); Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk); Utils.RegisterFunc(L, Utils.METHOD_IDX, "bossSelectedEvent", _e_bossSelectedEvent); Utils.RegisterFunc(L, Utils.METHOD_IDX, "bossWearyValueChangeEvent", _e_bossWearyValueChangeEvent); Utils.RegisterFunc(L, Utils.METHOD_IDX, "bigBoxCollectCountChangeEvent", _e_bigBoxCollectCountChangeEvent); Utils.RegisterFunc(L, Utils.METHOD_IDX, "boxSurplusChangeEvent", _e_boxSurplusChangeEvent); Utils.RegisterFunc(L, Utils.METHOD_IDX, "eliteSurplusChangeEvent", _e_eliteSurplusChangeEvent); Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectedBoss", _g_get_selectedBoss); Utils.RegisterFunc(L, Utils.GETTER_IDX, "wearyValue", _g_get_wearyValue); Utils.RegisterFunc(L, Utils.GETTER_IDX, "bigBoxCollectCount", _g_get_bigBoxCollectCount); Utils.RegisterFunc(L, Utils.GETTER_IDX, "smallBoxCollectCount", _g_get_smallBoxCollectCount); Utils.RegisterFunc(L, Utils.GETTER_IDX, "dogzDungeonBox", _g_get_dogzDungeonBox); Utils.RegisterFunc(L, Utils.GETTER_IDX, "dogzDungeonElite", _g_get_dogzDungeonElite); Utils.RegisterFunc(L, Utils.GETTER_IDX, "redpoint", _g_get_redpoint); Utils.RegisterFunc(L, Utils.GETTER_IDX, "bigBoxNpcId", _g_get_bigBoxNpcId); Utils.RegisterFunc(L, Utils.GETTER_IDX, "smallBoxNpcId", _g_get_smallBoxNpcId); Utils.RegisterFunc(L, Utils.GETTER_IDX, "eliteMonsters", _g_get_eliteMonsters); Utils.RegisterFunc(L, Utils.SETTER_IDX, "selectedBoss", _s_set_selectedBoss); Utils.RegisterFunc(L, Utils.SETTER_IDX, "wearyValue", _s_set_wearyValue); Utils.RegisterFunc(L, Utils.SETTER_IDX, "bigBoxCollectCount", _s_set_bigBoxCollectCount); Utils.RegisterFunc(L, Utils.SETTER_IDX, "smallBoxCollectCount", _s_set_smallBoxCollectCount); Utils.RegisterFunc(L, Utils.SETTER_IDX, "dogzDungeonBox", _s_set_dogzDungeonBox); Utils.RegisterFunc(L, Utils.SETTER_IDX, "dogzDungeonElite", _s_set_dogzDungeonElite); Utils.RegisterFunc(L, Utils.SETTER_IDX, "redpoint", _s_set_redpoint); Utils.RegisterFunc(L, Utils.SETTER_IDX, "bigBoxNpcId", _s_set_bigBoxNpcId); Utils.RegisterFunc(L, Utils.SETTER_IDX, "smallBoxNpcId", _s_set_smallBoxNpcId); Utils.RegisterFunc(L, Utils.SETTER_IDX, "eliteMonsters", _s_set_eliteMonsters); Utils.EndObjectRegister(type, L, translator, null, null, null, null, null); Utils.BeginClassRegister(type, L, __CreateInstance, 3, 0, 0); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "DOGZDUNGEON_REDPOINT", Snxxz.UI.DogzDungeonModel.DOGZDUNGEON_REDPOINT); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "DATA_MAPID", Snxxz.UI.DogzDungeonModel.DATA_MAPID); Utils.EndClassRegister(type, L, translator); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if(LuaAPI.lua_gettop(L) == 1) { Snxxz.UI.DogzDungeonModel gen_ret = new Snxxz.UI.DogzDungeonModel(); 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 Snxxz.UI.DogzDungeonModel constructor!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_Init(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.Init( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_UnInit(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.UnInit( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_TryGetBossData(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); { int __bossId = LuaAPI.xlua_tointeger(L, 2); Snxxz.UI.DogzDungeonBossData __data; bool gen_ret = gen_to_be_invoked.TryGetBossData( __bossId, out __data ); LuaAPI.lua_pushboolean(L, gen_ret); translator.Push(L, __data); return 2; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetNpcIds(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); { System.Collections.Generic.List gen_ret = gen_to_be_invoked.GetNpcIds( ); translator.Push(L, gen_ret); return 1; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetBosses(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); { System.Collections.Generic.List gen_ret = gen_to_be_invoked.GetBosses( ); translator.Push(L, gen_ret); return 1; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetRecommendNpc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); { int gen_ret = gen_to_be_invoked.GetRecommendNpc( ); LuaAPI.xlua_pushinteger(L, gen_ret); return 1; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetRecommendKillElite(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); { int gen_ret = gen_to_be_invoked.GetRecommendKillElite( ); LuaAPI.xlua_pushinteger(L, gen_ret); return 1; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_IsBossUnLocked(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); { int __bossId = LuaAPI.xlua_tointeger(L, 2); bool gen_ret = gen_to_be_invoked.IsBossUnLocked( __bossId ); LuaAPI.lua_pushboolean(L, gen_ret); return 1; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_RequestBoxAndEliteSurplusInfo(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.RequestBoxAndEliteSurplusInfo( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_RequestBoxSurplusInfo(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.RequestBoxSurplusInfo( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_RequestEliteSurplusInfo(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.RequestEliteSurplusInfo( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_UpdateMonsterSurplusInfo(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); { HA714_tagMCNPCCntList __npcInfoes = (HA714_tagMCNPCCntList)translator.GetObject(L, 2, typeof(HA714_tagMCNPCCntList)); gen_to_be_invoked.UpdateMonsterSurplusInfo( __npcInfoes ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_UpdateBoxOrEliteRefreshTime(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); { HA904_tagGCDogzNPCRefreshTime __refreshTimes = (HA904_tagGCDogzNPCRefreshTime)translator.GetObject(L, 2, typeof(HA904_tagGCDogzNPCRefreshTime)); gen_to_be_invoked.UpdateBoxOrEliteRefreshTime( __refreshTimes ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_OnPlayerLoginOk(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.OnPlayerLoginOk( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_selectedBoss(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.selectedBoss); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_wearyValue(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.wearyValue); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_bigBoxCollectCount(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.bigBoxCollectCount); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_smallBoxCollectCount(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.smallBoxCollectCount); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_dogzDungeonBox(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.dogzDungeonBox); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_dogzDungeonElite(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.dogzDungeonElite); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_redpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.redpoint); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_bigBoxNpcId(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.bigBoxNpcId); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_smallBoxNpcId(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.smallBoxNpcId); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_eliteMonsters(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.eliteMonsters); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_selectedBoss(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.selectedBoss = LuaAPI.xlua_tointeger(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_wearyValue(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.wearyValue = LuaAPI.xlua_tointeger(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_bigBoxCollectCount(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.bigBoxCollectCount = LuaAPI.xlua_tointeger(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_smallBoxCollectCount(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.smallBoxCollectCount = LuaAPI.xlua_tointeger(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_dogzDungeonBox(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.dogzDungeonBox = (Snxxz.UI.DogzDungeonBox)translator.GetObject(L, 2, typeof(Snxxz.UI.DogzDungeonBox)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_dogzDungeonElite(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.dogzDungeonElite = (Snxxz.UI.DogzDungeonElite)translator.GetObject(L, 2, typeof(Snxxz.UI.DogzDungeonElite)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_redpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.redpoint = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_bigBoxNpcId(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.bigBoxNpcId = LuaAPI.xlua_tointeger(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_smallBoxNpcId(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.smallBoxNpcId = LuaAPI.xlua_tointeger(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_eliteMonsters(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.eliteMonsters = (System.Collections.Generic.List)translator.GetObject(L, 2, typeof(System.Collections.Generic.List)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_bossSelectedEvent(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate>(L, 3); if (gen_delegate == null) { return LuaAPI.luaL_error(L, "#3 need System.Action!"); } if (gen_param_count == 3) { if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { gen_to_be_invoked.bossSelectedEvent += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.bossSelectedEvent -= gen_delegate; return 0; } } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.DogzDungeonModel.bossSelectedEvent!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_bossWearyValueChangeEvent(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate(L, 3); if (gen_delegate == null) { return LuaAPI.luaL_error(L, "#3 need System.Action!"); } if (gen_param_count == 3) { if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { gen_to_be_invoked.bossWearyValueChangeEvent += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.bossWearyValueChangeEvent -= gen_delegate; return 0; } } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.DogzDungeonModel.bossWearyValueChangeEvent!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_bigBoxCollectCountChangeEvent(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate(L, 3); if (gen_delegate == null) { return LuaAPI.luaL_error(L, "#3 need System.Action!"); } if (gen_param_count == 3) { if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { gen_to_be_invoked.bigBoxCollectCountChangeEvent += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.bigBoxCollectCountChangeEvent -= gen_delegate; return 0; } } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.DogzDungeonModel.bigBoxCollectCountChangeEvent!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_boxSurplusChangeEvent(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate(L, 3); if (gen_delegate == null) { return LuaAPI.luaL_error(L, "#3 need System.Action!"); } if (gen_param_count == 3) { if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { gen_to_be_invoked.boxSurplusChangeEvent += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.boxSurplusChangeEvent -= gen_delegate; return 0; } } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.DogzDungeonModel.boxSurplusChangeEvent!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_eliteSurplusChangeEvent(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.DogzDungeonModel gen_to_be_invoked = (Snxxz.UI.DogzDungeonModel)translator.FastGetCSObj(L, 1); System.Action gen_delegate = translator.GetDelegate(L, 3); if (gen_delegate == null) { return LuaAPI.luaL_error(L, "#3 need System.Action!"); } if (gen_param_count == 3) { if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { gen_to_be_invoked.eliteSurplusChangeEvent += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.eliteSurplusChangeEvent -= gen_delegate; return 0; } } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.DogzDungeonModel.eliteSurplusChangeEvent!"); return 0; } } }