少年修仙传客户端基础资源
client_Wu Xijin
2018-10-26 27e2d92d0aa7c66f9d84eddaaf8bf3619a1ebfec
Assets/XLua/Gen/SnxxzUIWishingPoolModelWrap.cs
@@ -21,7 +21,7 @@
        {
         ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
         System.Type type = typeof(Snxxz.UI.WishingPoolModel);
         Utils.BeginObjectRegister(type, L, translator, 0, 22, 10, 5);
         Utils.BeginObjectRegister(type, L, translator, 0, 30, 16, 6);
         
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
@@ -29,8 +29,13 @@
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetOperationWishing", _m_GetOperationWishing);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetFreeWishCoolTime", _m_TryGetFreeWishCoolTime);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsBestItem", _m_IsBestItem);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetHandMovePos", _m_SetHandMovePos);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "ResetDragData", _m_ResetDragData);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "ParseConfig", _m_ParseConfig);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetWishingWellPlayerInfo", _m_SetWishingWellPlayerInfo);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetWishingPrice", _m_GetWishingPrice);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetWishingResultInfo", _m_SetWishingResultInfo);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetWishingPoolData", _m_SetWishingPoolData);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemovetWishingPoolData", _m_RemovetWishingPoolData);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetWishingData", _m_SetWishingData);
@@ -39,27 +44,37 @@
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetPoolDataByIndex", _m_TryGetPoolDataByIndex);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetWishDataByIndex", _m_TryGetWishDataByIndex);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendRefreshPoolInfo", _m_SendRefreshPoolInfo);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendGetAwardQuest", _m_SendGetAwardQuest);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendRefreshWishInfo", _m_SendRefreshWishInfo);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetWishRedpoint", _m_SetWishRedpoint);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "ResetPoolData", _m_ResetPoolData);
         
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateWishingDataEvent", _e_UpdateWishingDataEvent);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdatePoolDataEvent", _e_UpdatePoolDataEvent);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateWishAwardEvent", _e_UpdateWishAwardEvent);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "onStateUpate", _e_onStateUpate);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateHandMoveEvent", _e_UpdateHandMoveEvent);
         
         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, "handStartIndex", _g_get_handStartIndex);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "handEndIndex", _g_get_handEndIndex);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "isDraging", _g_get_isDraging);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "dragIndex", _g_get_dragIndex);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "freeRefreshCoolTime", _g_get_freeRefreshCoolTime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "wishingPriceFormula", _g_get_wishingPriceFormula);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "freeStartTime", _g_get_freeStartTime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "alreadyWishNum", _g_get_alreadyWishNum);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "wishingPrice", _g_get_wishingPrice);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "wishingAwardDict", _g_get_wishingAwardDict);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "wishPoolRedpoint", _g_get_wishPoolRedpoint);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "freeWishRedpoint", _g_get_freeWishRedpoint);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "wishPointlist", _g_get_wishPointlist);
            
         Utils.RegisterFunc(L, Utils.SETTER_IDX, "isDraging", _s_set_isDraging);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "dragIndex", _s_set_dragIndex);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "wishingAwardDict", _s_set_wishingAwardDict);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "wishPoolRedpoint", _s_set_wishPoolRedpoint);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "freeWishRedpoint", _s_set_freeWishRedpoint);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "wishPointlist", _s_set_wishPointlist);
@@ -278,6 +293,62 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IsBestItem(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
                {
                        bool gen_ret = gen_to_be_invoked.IsBestItem(  );
                        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_SetHandMovePos(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
                {
                    int _wishIndex = LuaAPI.xlua_tointeger(L, 2);
                    gen_to_be_invoked.SetHandMovePos( _wishIndex );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ResetDragData(RealStatePtr L)
        {
          try {
@@ -292,6 +363,33 @@
                {
                    
                    gen_to_be_invoked.ResetDragData(  );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ParseConfig(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
                {
                    gen_to_be_invoked.ParseConfig(  );
                    
                    
                    
@@ -320,6 +418,63 @@
                    HAA1A_tagMCActWishingWellPlayerInfo _wishInfo = (HAA1A_tagMCActWishingWellPlayerInfo)translator.GetObject(L, 2, typeof(HAA1A_tagMCActWishingWellPlayerInfo));
                    
                    gen_to_be_invoked.SetWishingWellPlayerInfo( _wishInfo );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetWishingPrice(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
                {
                    int _wishNum = LuaAPI.xlua_tointeger(L, 2);
                        int gen_ret = gen_to_be_invoked.GetWishingPrice( _wishNum );
                        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_SetWishingResultInfo(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
                {
                    HAA1B_tagMCActWishingDragResult _result = (HAA1B_tagMCActWishingDragResult)translator.GetObject(L, 2, typeof(HAA1B_tagMCActWishingDragResult));
                    gen_to_be_invoked.SetWishingResultInfo( _result );
                    
                    
                    
@@ -568,6 +723,33 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SendGetAwardQuest(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
                {
                    gen_to_be_invoked.SendGetAwardQuest(  );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SendRefreshWishInfo(RealStatePtr L)
        {
          try {
@@ -696,6 +878,34 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_handStartIndex(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.handStartIndex);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_handEndIndex(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.handEndIndex);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_isDraging(RealStatePtr L)
        {
          try {
@@ -724,6 +934,34 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_freeRefreshCoolTime(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.freeRefreshCoolTime);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_wishingPriceFormula(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, gen_to_be_invoked.wishingPriceFormula);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_freeStartTime(RealStatePtr L)
        {
          try {
@@ -745,6 +983,34 @@
         
                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.alreadyWishNum);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_wishingPrice(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.wishingPrice);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_wishingAwardDict(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.wishingAwardDict);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
@@ -818,6 +1084,21 @@
         
                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.dragIndex = 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_wishingAwardDict(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.wishingAwardDict = (System.Collections.Generic.Dictionary<int, Snxxz.UI.WishingPoolModel.WishingWellItem>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, Snxxz.UI.WishingPoolModel.WishingWellItem>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
@@ -941,6 +1222,40 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_UpdateWishAwardEvent(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
             int gen_param_count = LuaAPI.lua_gettop(L);
         Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
                System.Action gen_delegate = translator.GetDelegate<System.Action>(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.UpdateWishAwardEvent += gen_delegate;
                  return 0;
               }
               if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
                  gen_to_be_invoked.UpdateWishAwardEvent -= 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.WishingPoolModel.UpdateWishAwardEvent!");
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_onStateUpate(RealStatePtr L)
        {
          try {
@@ -974,6 +1289,40 @@
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_UpdateHandMoveEvent(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
             int gen_param_count = LuaAPI.lua_gettop(L);
         Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
                System.Action gen_delegate = translator.GetDelegate<System.Action>(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.UpdateHandMoveEvent += gen_delegate;
                  return 0;
               }
               if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
                  gen_to_be_invoked.UpdateHandMoveEvent -= 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.WishingPoolModel.UpdateHandMoveEvent!");
            return 0;
        }
      
      
    }