#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 SnxxzUIFlashRushToBuyModelWrap { public static void __Register(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); System.Type type = typeof(Snxxz.UI.FlashRushToBuyModel); Utils.BeginObjectRegister(type, L, translator, 0, 24, 7, 3); Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDefaultSelectSaleTime", _m_SetDefaultSelectSaleTime); Utils.RegisterFunc(L, Utils.METHOD_IDX, "PresentFlashShopActivityClose", _m_PresentFlashShopActivityClose); Utils.RegisterFunc(L, Utils.METHOD_IDX, "ResetFlashShop", _m_ResetFlashShop); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateSelectFlashSaleTime", _m_UpdateSelectFlashSaleTime); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetOperationFlashRushToBuy", _m_GetOperationFlashRushToBuy); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFlashSaleAppointmentInfo", _m_UpdateFlashSaleAppointmentInfo); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFullSeverBuyInfo", _m_UpdateFullSeverBuyInfo); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetFullServerBuyCntById", _m_GetFullServerBuyCntById); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendFlashSaleAppointment", _m_SendFlashSaleAppointment); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetActivityState", _m_GetActivityState); Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckIsPush", _m_CheckIsPush); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDayRemind", _m_SetDayRemind); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetAlreadyOpenSaleTime", _m_SetAlreadyOpenSaleTime); Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAlreadyOpenSaleTime", _m_GetAlreadyOpenSaleTime); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdatePresentFlashShopCloseEvent", _e_UpdatePresentFlashShopCloseEvent); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateSelectSaleTimeEvent", _e_UpdateSelectSaleTimeEvent); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateAllAppointmentEvent", _e_UpdateAllAppointmentEvent); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateAppointmentEvent", _e_UpdateAppointmentEvent); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFullSeverBuyEvent", _e_UpdateFullSeverBuyEvent); Utils.RegisterFunc(L, Utils.METHOD_IDX, "onStateUpate", _e_onStateUpate); Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsOpen", _g_get_IsOpen); Utils.RegisterFunc(L, Utils.GETTER_IDX, "priorityOpen", _g_get_priorityOpen); Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsAdvance", _g_get_IsAdvance); Utils.RegisterFunc(L, Utils.GETTER_IDX, "presentFlashShop", _g_get_presentFlashShop); Utils.RegisterFunc(L, Utils.GETTER_IDX, "AlreadyOpenSaleTimeRecord", _g_get_AlreadyOpenSaleTimeRecord); Utils.RegisterFunc(L, Utils.GETTER_IDX, "flashRushToBuyRedpoint", _g_get_flashRushToBuyRedpoint); Utils.RegisterFunc(L, Utils.GETTER_IDX, "flashSaleShops", _g_get_flashSaleShops); Utils.RegisterFunc(L, Utils.SETTER_IDX, "AlreadyOpenSaleTimeRecord", _s_set_AlreadyOpenSaleTimeRecord); Utils.RegisterFunc(L, Utils.SETTER_IDX, "flashRushToBuyRedpoint", _s_set_flashRushToBuyRedpoint); Utils.RegisterFunc(L, Utils.SETTER_IDX, "flashSaleShops", _s_set_flashSaleShops); Utils.EndObjectRegister(type, L, translator, null, null, null, null, null); Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0); 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.FlashRushToBuyModel gen_ret = new Snxxz.UI.FlashRushToBuyModel(); 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.FlashRushToBuyModel constructor!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_Init(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)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.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)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_OnPlayerLoginOk(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)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.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)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_SetDefaultSelectSaleTime(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.SetDefaultSelectSaleTime( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_PresentFlashShopActivityClose(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.PresentFlashShopActivityClose( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_ResetFlashShop(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.ResetFlashShop( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_UpdateSelectFlashSaleTime(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); { int _dayIndex = LuaAPI.xlua_tointeger(L, 2); int _timeIndex = LuaAPI.xlua_tointeger(L, 3); gen_to_be_invoked.UpdateSelectFlashSaleTime( _dayIndex, _timeIndex ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetOperationFlashRushToBuy(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.OperationFlashRushToBuy gen_ret = gen_to_be_invoked.GetOperationFlashRushToBuy( ); 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_UpdateFlashSaleAppointmentInfo(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); { HAA18_tagMCFlashSaleAppointmentInfo _appointmentInfo = (HAA18_tagMCFlashSaleAppointmentInfo)translator.GetObject(L, 2, typeof(HAA18_tagMCFlashSaleAppointmentInfo)); gen_to_be_invoked.UpdateFlashSaleAppointmentInfo( _appointmentInfo ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_UpdateFullSeverBuyInfo(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); { HA906_tagGCStoreServerBuyCntInfo _buyCntInfo = (HA906_tagGCStoreServerBuyCntInfo)translator.GetObject(L, 2, typeof(HA906_tagGCStoreServerBuyCntInfo)); gen_to_be_invoked.UpdateFullSeverBuyInfo( _buyCntInfo ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetFullServerBuyCntById(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); { int _goodsId = LuaAPI.xlua_tointeger(L, 2); int gen_ret = gen_to_be_invoked.GetFullServerBuyCntById( _goodsId ); 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_SendFlashSaleAppointment(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); { int _shopGuid = LuaAPI.xlua_tointeger(L, 2); int _state = LuaAPI.xlua_tointeger(L, 3); gen_to_be_invoked.SendFlashSaleAppointment( _shopGuid, _state ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetActivityState(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); { int _seconds; Snxxz.UI.OperationTime _operationTime; Snxxz.UI.OperationFlashRushToBuy.FlashSaleShop _saleShop; Snxxz.UI.FlashRushToBuyModel.FlashRushToBuySate gen_ret = gen_to_be_invoked.GetActivityState( out _seconds, out _operationTime, out _saleShop ); translator.Push(L, gen_ret); LuaAPI.xlua_pushinteger(L, _seconds); translator.Push(L, _operationTime); translator.Push(L, _saleShop); return 4; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_CheckIsPush(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); { Snxxz.UI.OperationFlashRushToBuy.FlashSaleShop _saleShop; bool gen_ret = gen_to_be_invoked.CheckIsPush( out _saleShop ); LuaAPI.lua_pushboolean(L, gen_ret); translator.Push(L, _saleShop); return 2; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetDayRemind(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.SetDayRemind( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetAlreadyOpenSaleTime(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.SetAlreadyOpenSaleTime( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_GetAlreadyOpenSaleTime(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); { System.Collections.Generic.List gen_ret = gen_to_be_invoked.GetAlreadyOpenSaleTime( ); 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 _g_get_IsOpen(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsOpen); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_priorityOpen(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.priorityOpen); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_IsAdvance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsAdvance); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_presentFlashShop(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.presentFlashShop); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_AlreadyOpenSaleTimeRecord(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, gen_to_be_invoked.AlreadyOpenSaleTimeRecord); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_flashRushToBuyRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.flashRushToBuyRedpoint); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_flashSaleShops(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.flashSaleShops); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_AlreadyOpenSaleTimeRecord(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.AlreadyOpenSaleTimeRecord = LuaAPI.lua_tostring(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_flashRushToBuyRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.flashRushToBuyRedpoint = (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_flashSaleShops(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.flashSaleShops = (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_UpdatePresentFlashShopCloseEvent(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)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.UpdatePresentFlashShopCloseEvent += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.UpdatePresentFlashShopCloseEvent -= 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.FlashRushToBuyModel.UpdatePresentFlashShopCloseEvent!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_UpdateSelectSaleTimeEvent(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)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.UpdateSelectSaleTimeEvent += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.UpdateSelectSaleTimeEvent -= 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.FlashRushToBuyModel.UpdateSelectSaleTimeEvent!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_UpdateAllAppointmentEvent(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)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.UpdateAllAppointmentEvent += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.UpdateAllAppointmentEvent -= 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.FlashRushToBuyModel.UpdateAllAppointmentEvent!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_UpdateAppointmentEvent(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)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.UpdateAppointmentEvent += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.UpdateAppointmentEvent -= 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.FlashRushToBuyModel.UpdateAppointmentEvent!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_UpdateFullSeverBuyEvent(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)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.UpdateFullSeverBuyEvent += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.UpdateFullSeverBuyEvent -= 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.FlashRushToBuyModel.UpdateFullSeverBuyEvent!"); return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _e_onStateUpate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); Snxxz.UI.FlashRushToBuyModel gen_to_be_invoked = (Snxxz.UI.FlashRushToBuyModel)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.onStateUpate += gen_delegate; return 0; } if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { gen_to_be_invoked.onStateUpate -= 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.FlashRushToBuyModel.onStateUpate!"); return 0; } } }