#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 SnxxzUIFairylandCeremonyModelWrap { public static void __Register(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); System.Type type = typeof(Snxxz.UI.FairylandCeremonyModel); Utils.BeginObjectRegister(type, L, translator, 0, 26, 11, 8); Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit); Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnAfterPlayerDataInitialize", _m_OnAfterPlayerDataInitialize); Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetServerActiveInfo", _m_GetServerActiveInfo); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetServerRechargeInfo", _m_GetServerRechargeInfo); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetServerPeopleInfo", _m_GetServerPeopleInfo); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPeopleTaskTimesById", _m_GetPeopleTaskTimesById); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPeopleAwardRecordByIndex", _m_GetPeopleAwardRecordByIndex); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendReceiveAward", _m_SendReceiveAward); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendGetRankInfo", _m_SendGetRankInfo); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetWorldLvIndex", _m_GetWorldLvIndex); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRechargeAwardByLv", _m_GetRechargeAwardByLv); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetFireIdByLv", _m_GetFireIdByLv); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetFireAwardlist", _m_GetFireAwardlist); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckIsBuyFireCondi", _m_CheckIsBuyFireCondi); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPeoplePartTasklist", _m_GetPeoplePartTasklist); Utils.RegisterFunc(L, Utils.METHOD_IDX, "PeopleTaskComplete", _m_PeopleTaskComplete); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPeoplePartAwardlist", _m_GetPeoplePartAwardlist); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CompareByIndex", _m_CompareByIndex); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPeoplePartyAwardById", _m_GetPeoplePartyAwardById); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRankAwardByLv", _m_GetRankAwardByLv); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckRechargeRed", _m_CheckRechargeRed); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckPeoplePartyRed", _m_CheckPeoplePartyRed); Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsPeopleAwardRecive", _m_IsPeopleAwardRecive); Utils.RegisterFunc(L, Utils.GETTER_IDX, "receiveState", _g_get_receiveState); Utils.RegisterFunc(L, Utils.GETTER_IDX, "worldLv", _g_get_worldLv); Utils.RegisterFunc(L, Utils.GETTER_IDX, "sumHiPoint", _g_get_sumHiPoint); Utils.RegisterFunc(L, Utils.GETTER_IDX, "fireDict", _g_get_fireDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "RefreshRechargeStateAct", _g_get_RefreshRechargeStateAct); Utils.RegisterFunc(L, Utils.GETTER_IDX, "RefreshHiPointAct", _g_get_RefreshHiPointAct); Utils.RegisterFunc(L, Utils.GETTER_IDX, "RefreshHiAwardStateAct", _g_get_RefreshHiAwardStateAct); Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairyCeremonyRedp", _g_get_fairyCeremonyRedp); Utils.RegisterFunc(L, Utils.GETTER_IDX, "rechargeRedp", _g_get_rechargeRedp); Utils.RegisterFunc(L, Utils.GETTER_IDX, "receiveBtnRedp", _g_get_receiveBtnRedp); Utils.RegisterFunc(L, Utils.GETTER_IDX, "peopleRedp", _g_get_peopleRedp); Utils.RegisterFunc(L, Utils.SETTER_IDX, "fireDict", _s_set_fireDict); Utils.RegisterFunc(L, Utils.SETTER_IDX, "RefreshRechargeStateAct", _s_set_RefreshRechargeStateAct); Utils.RegisterFunc(L, Utils.SETTER_IDX, "RefreshHiPointAct", _s_set_RefreshHiPointAct); Utils.RegisterFunc(L, Utils.SETTER_IDX, "RefreshHiAwardStateAct", _s_set_RefreshHiAwardStateAct); Utils.RegisterFunc(L, Utils.SETTER_IDX, "fairyCeremonyRedp", _s_set_fairyCeremonyRedp); Utils.RegisterFunc(L, Utils.SETTER_IDX, "rechargeRedp", _s_set_rechargeRedp); Utils.RegisterFunc(L, Utils.SETTER_IDX, "receiveBtnRedp", _s_set_receiveBtnRedp); Utils.RegisterFunc(L, Utils.SETTER_IDX, "peopleRedp", _s_set_peopleRedp); Utils.EndObjectRegister(type, L, translator, null, null, null, null, null); Utils.BeginClassRegister(type, L, __CreateInstance, 5, 0, 0); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FairyCeremony_RedKey", Snxxz.UI.FairylandCeremonyModel.FairyCeremony_RedKey); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "CeremonyRecharge_RedKey", Snxxz.UI.FairylandCeremonyModel.CeremonyRecharge_RedKey); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RechargeReceiveBtn_RedKey", Snxxz.UI.FairylandCeremonyModel.RechargeReceiveBtn_RedKey); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "CeremonyPeople_RedKey", Snxxz.UI.FairylandCeremonyModel.CeremonyPeople_RedKey); 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.FairylandCeremonyModel gen_ret = new Snxxz.UI.FairylandCeremonyModel(); 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.FairylandCeremonyModel constructor!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_Init(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)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.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)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_OnBeforePlayerDataInitialize(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.OnBeforePlayerDataInitialize( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_OnAfterPlayerDataInitialize(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.OnAfterPlayerDataInitialize( ); 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.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)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 _m_GetServerActiveInfo(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { HAC09_tagGCFairyCeremonyInfo _info = (HAC09_tagGCFairyCeremonyInfo)translator.GetObject(L, 2, typeof(HAC09_tagGCFairyCeremonyInfo)); gen_to_be_invoked.GetServerActiveInfo( _info ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetServerRechargeInfo(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { HAA14_tagMCXJSDRecharge _info = (HAA14_tagMCXJSDRecharge)translator.GetObject(L, 2, typeof(HAA14_tagMCXJSDRecharge)); gen_to_be_invoked.GetServerRechargeInfo( _info ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetServerPeopleInfo(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { HAA15_tagMCAllPeoplePartyInfo _info = (HAA15_tagMCAllPeoplePartyInfo)translator.GetObject(L, 2, typeof(HAA15_tagMCAllPeoplePartyInfo)); gen_to_be_invoked.GetServerPeopleInfo( _info ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetPeopleTaskTimesById(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { int _actId = LuaAPI.xlua_tointeger(L, 2); int gen_ret = gen_to_be_invoked.GetPeopleTaskTimesById( _actId ); 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_GetPeopleAwardRecordByIndex(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { int _index = LuaAPI.xlua_tointeger(L, 2); bool gen_ret = gen_to_be_invoked.GetPeopleAwardRecordByIndex( _index ); 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_SendReceiveAward(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { GotServerRewardType _type;translator.Get(L, 2, out _type); int _index = LuaAPI.xlua_tointeger(L, 3); gen_to_be_invoked.SendReceiveAward( _type, _index ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SendGetRankInfo(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { RankType _type;translator.Get(L, 2, out _type); gen_to_be_invoked.SendGetRankInfo( _type ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetWorldLvIndex(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.FairylandCeremonyModel.CeremonyType _type;translator.Get(L, 2, out _type); int gen_ret = gen_to_be_invoked.GetWorldLvIndex( _type ); 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_GetRechargeAwardByLv(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { System.Collections.Generic.List gen_ret = gen_to_be_invoked.GetRechargeAwardByLv( ); 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_GetFireIdByLv(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { StoreConfig gen_ret = gen_to_be_invoked.GetFireIdByLv( ); 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_GetFireAwardlist(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { System.Collections.Generic.List gen_ret = gen_to_be_invoked.GetFireAwardlist( ); 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_CheckIsBuyFireCondi(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 3&& translator.Assignable(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) { StoreConfig _storeConfig = (StoreConfig)translator.GetObject(L, 2, typeof(StoreConfig)); int _buyNum = LuaAPI.xlua_tointeger(L, 3); bool gen_ret = gen_to_be_invoked.CheckIsBuyFireCondi( _storeConfig, _buyNum ); LuaAPI.lua_pushboolean(L, gen_ret); return 1; } if(gen_param_count == 2&& translator.Assignable(L, 2)) { StoreConfig _storeConfig = (StoreConfig)translator.GetObject(L, 2, typeof(StoreConfig)); bool gen_ret = gen_to_be_invoked.CheckIsBuyFireCondi( _storeConfig ); LuaAPI.lua_pushboolean(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.FairylandCeremonyModel.CheckIsBuyFireCondi!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetPeoplePartTasklist(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { System.Collections.Generic.List gen_ret = gen_to_be_invoked.GetPeoplePartTasklist( ); 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_PeopleTaskComplete(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { AllPeoplePartyConfig _partyConfig = (AllPeoplePartyConfig)translator.GetObject(L, 2, typeof(AllPeoplePartyConfig)); bool gen_ret = gen_to_be_invoked.PeopleTaskComplete( _partyConfig ); 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_GetPeoplePartAwardlist(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { System.Collections.Generic.List gen_ret = gen_to_be_invoked.GetPeoplePartAwardlist( ); 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_CompareByIndex(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { AllPeoplePartyAwardConfig _start = (AllPeoplePartyAwardConfig)translator.GetObject(L, 2, typeof(AllPeoplePartyAwardConfig)); AllPeoplePartyAwardConfig _end = (AllPeoplePartyAwardConfig)translator.GetObject(L, 3, typeof(AllPeoplePartyAwardConfig)); int gen_ret = gen_to_be_invoked.CompareByIndex( _start, _end ); 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_GetPeoplePartyAwardById(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { int _peopleId = LuaAPI.xlua_tointeger(L, 2); System.Collections.Generic.List gen_ret = gen_to_be_invoked.GetPeoplePartyAwardById( _peopleId ); 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_GetRankAwardByLv(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { int _rank = LuaAPI.xlua_tointeger(L, 2); System.Collections.Generic.List gen_ret = gen_to_be_invoked.GetRankAwardByLv( _rank ); 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_CheckRechargeRed(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.CheckRechargeRed( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_CheckPeoplePartyRed(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.CheckPeoplePartyRed( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_IsPeopleAwardRecive(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); { int _index; bool gen_ret = gen_to_be_invoked.IsPeopleAwardRecive( out _index ); LuaAPI.lua_pushboolean(L, gen_ret); LuaAPI.xlua_pushinteger(L, _index); return 2; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_receiveState(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.receiveState); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_worldLv(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.worldLv); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_sumHiPoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.sumHiPoint); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_fireDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.fireDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_RefreshRechargeStateAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.RefreshRechargeStateAct); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_RefreshHiPointAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.RefreshHiPointAct); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_RefreshHiAwardStateAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.RefreshHiAwardStateAct); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_fairyCeremonyRedp(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.fairyCeremonyRedp); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_rechargeRedp(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.rechargeRedp); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_receiveBtnRedp(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.receiveBtnRedp); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_peopleRedp(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.peopleRedp); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_fireDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.fireDict = (System.Collections.Generic.Dictionary)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_RefreshRechargeStateAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.RefreshRechargeStateAct = translator.GetDelegate(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_RefreshHiPointAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.RefreshHiPointAct = translator.GetDelegate>(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_RefreshHiAwardStateAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.RefreshHiAwardStateAct = translator.GetDelegate(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_fairyCeremonyRedp(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.fairyCeremonyRedp = (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_rechargeRedp(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.rechargeRedp = (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_receiveBtnRedp(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.receiveBtnRedp = (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_peopleRedp(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FairylandCeremonyModel gen_to_be_invoked = (Snxxz.UI.FairylandCeremonyModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.peopleRedp = (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; } } }