From dd50d3d364e6ddc31b36b1b5cb256669e281c843 Mon Sep 17 00:00:00 2001 From: client_Wu Xijin <364452445@qq.com> Date: 星期三, 24 十月 2018 09:41:18 +0800 Subject: [PATCH] 3335 更新lua库 --- Assets/XLua/Gen/SnxxzUIOperationTimeHeplerWrap.cs | 31 ++++++++++++++++++++++++++++++- 1 files changed, 30 insertions(+), 1 deletions(-) diff --git a/Assets/XLua/Gen/SnxxzUIOperationTimeHeplerWrap.cs b/Assets/XLua/Gen/SnxxzUIOperationTimeHeplerWrap.cs index f84ec38..050ad64 100644 --- a/Assets/XLua/Gen/SnxxzUIOperationTimeHeplerWrap.cs +++ b/Assets/XLua/Gen/SnxxzUIOperationTimeHeplerWrap.cs @@ -21,12 +21,13 @@ { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); System.Type type = typeof(Snxxz.UI.OperationTimeHepler); - Utils.BeginObjectRegister(type, L, translator, 0, 23, 0, 0); + Utils.BeginObjectRegister(type, L, translator, 0, 24, 0, 0); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateMultipleExp", _m_UpdateMultipleExp); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateConsumeRebate", _m_UpdateConsumeRebate); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFlashSale", _m_UpdateFlashSale); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFlashRushToBuy", _m_UpdateFlashRushToBuy); + Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateWishingWellInfo", _m_UpdateWishingWellInfo); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateGiftPackage", _m_UpdateGiftPackage); Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateBossReborn", _m_UpdateBossReborn); Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshFairyCeremonyInfo", _m_RefreshFairyCeremonyInfo); @@ -209,6 +210,34 @@ } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] + static int _m_UpdateWishingWellInfo(RealStatePtr L) + { + try { + + ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); + + + Snxxz.UI.OperationTimeHepler gen_to_be_invoked = (Snxxz.UI.OperationTimeHepler)translator.FastGetCSObj(L, 1); + + + + { + HAA19_tagMCActWishingWellInfo _package = (HAA19_tagMCActWishingWellInfo)translator.GetObject(L, 2, typeof(HAA19_tagMCActWishingWellInfo)); + + gen_to_be_invoked.UpdateWishingWellInfo( _package ); + + + + return 0; + } + + } catch(System.Exception gen_e) { + return LuaAPI.luaL_error(L, "c# exception:" + gen_e); + } + + } + + [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_UpdateGiftPackage(RealStatePtr L) { try { -- Gitblit v1.8.0