#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 SnxxzUISetPrivateModelWrap { public static void __Register(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); System.Type type = typeof(Snxxz.UI.SetPrivateModel); Utils.BeginObjectRegister(type, L, translator, 0, 25, 7, 7); Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); 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, "UnInit", _m_UnInit); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetActivityPushKey", _m_SetActivityPushKey); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetServerPushModel", _m_SetServerPushModel); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendPushNotifyQuest", _m_SendPushNotifyQuest); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetActivityPush", _m_SetActivityPush); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveActivityPush", _m_RemoveActivityPush); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveActivityPushByKey", _m_RemoveActivityPushByKey); Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddActivityPush", _m_AddActivityPush); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPushJsonData", _m_GetPushJsonData); Utils.RegisterFunc(L, Utils.METHOD_IDX, "InitPushNotifyStr", _m_InitPushNotifyStr); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetVipPushNotify", _m_SetVipPushNotify); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetVipPushNotifyByVipExperience", _m_SetVipPushNotifyByVipExperience); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshPushSet", _m_RefreshPushSet); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetOpenDailyIdlist", _m_GetOpenDailyIdlist); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSwitchStateByIndex", _m_GetSwitchStateByIndex); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDailyInfoById", _m_GetDailyInfoById); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSwitchIndexById", _m_GetSwitchIndexById); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRefreshFreeTimeEvent", _m_SetRefreshFreeTimeEvent); Utils.RegisterFunc(L, Utils.METHOD_IDX, "TestDailyQuestUnLock", _m_TestDailyQuestUnLock); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckActivityOpenTime", _m_CheckActivityOpenTime); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshFreeTimeAct", _e_RefreshFreeTimeAct); Utils.RegisterFunc(L, Utils.GETTER_IDX, "startHour", _g_get_startHour); Utils.RegisterFunc(L, Utils.GETTER_IDX, "startMinute", _g_get_startMinute); Utils.RegisterFunc(L, Utils.GETTER_IDX, "endHour", _g_get_endHour); Utils.RegisterFunc(L, Utils.GETTER_IDX, "endMinute", _g_get_endMinute); Utils.RegisterFunc(L, Utils.GETTER_IDX, "hangUpPushlist", _g_get_hangUpPushlist); Utils.RegisterFunc(L, Utils.GETTER_IDX, "pushAtcivityKeyDict", _g_get_pushAtcivityKeyDict); Utils.RegisterFunc(L, Utils.GETTER_IDX, "pushSetDict", _g_get_pushSetDict); Utils.RegisterFunc(L, Utils.SETTER_IDX, "startHour", _s_set_startHour); Utils.RegisterFunc(L, Utils.SETTER_IDX, "startMinute", _s_set_startMinute); Utils.RegisterFunc(L, Utils.SETTER_IDX, "endHour", _s_set_endHour); Utils.RegisterFunc(L, Utils.SETTER_IDX, "endMinute", _s_set_endMinute); Utils.RegisterFunc(L, Utils.SETTER_IDX, "hangUpPushlist", _s_set_hangUpPushlist); Utils.RegisterFunc(L, Utils.SETTER_IDX, "pushAtcivityKeyDict", _s_set_pushAtcivityKeyDict); Utils.RegisterFunc(L, Utils.SETTER_IDX, "pushSetDict", _s_set_pushSetDict); Utils.EndObjectRegister(type, L, translator, null, null, null, null, null); Utils.BeginClassRegister(type, L, __CreateInstance, 2, 0, 0); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "VIPEXPERIENCERECORD", Snxxz.UI.SetPrivateModel.VIPEXPERIENCERECORD); 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.SetPrivateModel gen_ret = new Snxxz.UI.SetPrivateModel(); 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.SetPrivateModel constructor!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_Init(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)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_OnBeforePlayerDataInitialize(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)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.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)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.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)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_UnInit(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)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_SetActivityPushKey(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.SetActivityPushKey( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetServerPushModel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); { HB202_tagMCPushNotificationsSetting _setting = (HB202_tagMCPushNotificationsSetting)translator.GetObject(L, 2, typeof(HB202_tagMCPushNotificationsSetting)); gen_to_be_invoked.SetServerPushModel( _setting ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SendPushNotifyQuest(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); { int _pushSet = LuaAPI.xlua_tointeger(L, 2); gen_to_be_invoked.SendPushNotifyQuest( _pushSet ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetActivityPush(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.SetActivityPush( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_RemoveActivityPush(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); { int _dailyId = LuaAPI.xlua_tointeger(L, 2); gen_to_be_invoked.RemoveActivityPush( _dailyId ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_RemoveActivityPushByKey(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); { int _dailyId = LuaAPI.xlua_tointeger(L, 2); string _pushKey = LuaAPI.lua_tostring(L, 3); gen_to_be_invoked.RemoveActivityPushByKey( _dailyId, _pushKey ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_AddActivityPush(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); { int _dailyId = LuaAPI.xlua_tointeger(L, 2); gen_to_be_invoked.AddActivityPush( _dailyId ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetPushJsonData(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); { int _dailyId = LuaAPI.xlua_tointeger(L, 2); System.Collections.Generic.List gen_ret = gen_to_be_invoked.GetPushJsonData( _dailyId ); 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_InitPushNotifyStr(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.InitPushNotifyStr( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetVipPushNotify(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); { int _vipLv = LuaAPI.xlua_tointeger(L, 2); gen_to_be_invoked.SetVipPushNotify( _vipLv ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetVipPushNotifyByVipExperience(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.SetVipPushNotifyByVipExperience( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_RefreshPushSet(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); { int _switchIndex = LuaAPI.xlua_tointeger(L, 2); bool _isOpen = LuaAPI.lua_toboolean(L, 3); gen_to_be_invoked.RefreshPushSet( _switchIndex, _isOpen ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetOpenDailyIdlist(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 2&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)) { bool _isFunclimit = LuaAPI.lua_toboolean(L, 2); System.Collections.Generic.List gen_ret = gen_to_be_invoked.GetOpenDailyIdlist( _isFunclimit ); translator.Push(L, gen_ret); return 1; } if(gen_param_count == 1) { System.Collections.Generic.List gen_ret = gen_to_be_invoked.GetOpenDailyIdlist( ); 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.SetPrivateModel.GetOpenDailyIdlist!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetSwitchStateByIndex(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); { int _index = LuaAPI.xlua_tointeger(L, 2); bool gen_ret = gen_to_be_invoked.GetSwitchStateByIndex( _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_GetDailyInfoById(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); { int _id = LuaAPI.xlua_tointeger(L, 2); string _title; string _week; string _time; gen_to_be_invoked.GetDailyInfoById( _id, out _title, out _week, out _time ); LuaAPI.lua_pushstring(L, _title); LuaAPI.lua_pushstring(L, _week); LuaAPI.lua_pushstring(L, _time); return 3; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetSwitchIndexById(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); { int _id = LuaAPI.xlua_tointeger(L, 2); System.Collections.Generic.List _quests = (System.Collections.Generic.List)translator.GetObject(L, 3, typeof(System.Collections.Generic.List)); int gen_ret = gen_to_be_invoked.GetSwitchIndexById( _id, _quests ); 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_SetRefreshFreeTimeEvent(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); { int _type = LuaAPI.xlua_tointeger(L, 2); int _hour = LuaAPI.xlua_tointeger(L, 3); int _minute = LuaAPI.xlua_tointeger(L, 4); gen_to_be_invoked.SetRefreshFreeTimeEvent( _type, _hour, _minute ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_TestDailyQuestUnLock(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); { int __dailyQuestId = LuaAPI.xlua_tointeger(L, 2); bool gen_ret = gen_to_be_invoked.TestDailyQuestUnLock( __dailyQuestId ); 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_CheckActivityOpenTime(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); { int _dailyId = LuaAPI.xlua_tointeger(L, 2); System.Collections.Generic.List _quests = (System.Collections.Generic.List)translator.GetObject(L, 3, typeof(System.Collections.Generic.List)); gen_to_be_invoked.CheckActivityOpenTime( _dailyId, _quests ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_startHour(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.startHour); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_startMinute(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.startMinute); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_endHour(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.endHour); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_endMinute(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.endMinute); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_hangUpPushlist(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.hangUpPushlist); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_pushAtcivityKeyDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.pushAtcivityKeyDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_pushSetDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.pushSetDict); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_startHour(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.startHour = 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_startMinute(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.startMinute = 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_endHour(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.endHour = 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_endMinute(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.endMinute = 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_hangUpPushlist(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.hangUpPushlist = (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 _s_set_pushAtcivityKeyDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.pushAtcivityKeyDict = (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_pushSetDict(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.pushSetDict = (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 _e_RefreshFreeTimeAct(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.SetPrivateModel gen_to_be_invoked = (Snxxz.UI.SetPrivateModel)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.RefreshFreeTimeAct += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.RefreshFreeTimeAct -= 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.SetPrivateModel.RefreshFreeTimeAct!"); return 0; } } }