少年修仙传客户端代码仓库
client_Hale
2018-12-30 201470e7f8f205205b81e91b5197879b514d8cfa
Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
6个文件已添加
19个文件已修改
1868 ■■■■ 已修改文件
Core/NetworkPackage/DTCFile/ClientPack.meta 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/ConfigUtilWrap.cs 256 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/DelegatesGensBridge.cs 378 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/GAMgrWrap.cs 67 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/Resources.meta 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUICrossServerOneVsOneModelWrap.cs 136 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIFairyFeastModelWrap.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIGatherSoulDungeonModelWrap.cs 60 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIKingTreasureShowModelWrap.cs 285 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIKingTreasureShowModelWrap.cs.meta 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIKnapsackTimeCDMgrWrap.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIKnapsackTimeCDMgrWrap.cs.meta 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIOpponentInformationWrap.cs 207 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIOpponentInformationWrap.cs.meta 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIPackModelInterfaceWrap.cs 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIPackModelInterfaceWrap.cs.meta 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/XLuaGenAutoRegister.cs 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/XLuaGenAutoRegister.cs.meta 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/link.xml 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/BetterItemGetBehaviour.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/KnapsackTimeCDMgr.cs 43 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/ItemModel.cs 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/PackModelInterface.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/PlayerPackModels.cs 307 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Utility/EnumHelper.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/NetworkPackage/DTCFile/ClientPack.meta
New file
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 722e5e3d30096674e811f5bd191246a0
folderAsset: yes
timeCreated: 1539228128
licenseType: Pro
DefaultImporter:
  userData:
  assetBundleName:
  assetBundleVariant:
Lua/Gen/ConfigUtilWrap.cs
@@ -31,8 +31,17 @@
            Utils.EndObjectRegister(type, L, translator, null, null,
                null, null, null);
            Utils.BeginClassRegister(type, L, __CreateInstance, 172, 0, 0);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetChatBubbleBox", _m_GetChatBubbleBox_xlua_st_);
            Utils.BeginClassRegister(type, L, __CreateInstance, 181, 0, 0);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetCrossServerArena", _m_GetCrossServerArena_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetFuncSwitch", _m_GetFuncSwitch_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetGatherSoul", _m_GetGatherSoul_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetGatherSoulCompose", _m_GetGatherSoulCompose_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetDungeonHelpBattle", _m_GetDungeonHelpBattle_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetGatherSoulProperty", _m_GetGatherSoulProperty_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetKingTreasureItem", _m_GetKingTreasureItem_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetKingTreasure", _m_GetKingTreasure_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetAncientRobotName", _m_GetAncientRobotName_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetChatBubbleBox", _m_GetChatBubbleBox_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetIceLodeStarAward", _m_GetIceLodeStarAward_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetMarketQuery", _m_GetMarketQuery_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetGodWeaponEffect", _m_GetGodWeaponEffect_xlua_st_);
@@ -226,6 +235,249 @@
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetCrossServerArena_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                    string __key = LuaAPI.lua_tostring(L, 1);
                        TableConfig.CrossServerArenaConfig gen_ret = ConfigUtil.GetCrossServerArena( __key );
                        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_GetFuncSwitch_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                    string __key = LuaAPI.lua_tostring(L, 1);
                        TableConfig.FuncSwitchConfig gen_ret = ConfigUtil.GetFuncSwitch( __key );
                        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_GetGatherSoul_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                    string __key = LuaAPI.lua_tostring(L, 1);
                        TableConfig.GatherSoulConfig gen_ret = ConfigUtil.GetGatherSoul( __key );
                        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_GetGatherSoulCompose_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                    string __key = LuaAPI.lua_tostring(L, 1);
                        TableConfig.GatherSoulComposeConfig gen_ret = ConfigUtil.GetGatherSoulCompose( __key );
                        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_GetDungeonHelpBattle_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                    string __key = LuaAPI.lua_tostring(L, 1);
                        TableConfig.DungeonHelpBattleConfig gen_ret = ConfigUtil.GetDungeonHelpBattle( __key );
                        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_GetGatherSoulProperty_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                    string __key = LuaAPI.lua_tostring(L, 1);
                        TableConfig.GatherSoulPropertyConfig gen_ret = ConfigUtil.GetGatherSoulProperty( __key );
                        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_GetKingTreasureItem_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                    string __key = LuaAPI.lua_tostring(L, 1);
                        TableConfig.KingTreasureItemConfig gen_ret = ConfigUtil.GetKingTreasureItem( __key );
                        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_GetKingTreasure_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                    string __key = LuaAPI.lua_tostring(L, 1);
                        TableConfig.KingTreasureConfig gen_ret = ConfigUtil.GetKingTreasure( __key );
                        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_GetAncientRobotName_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                {
                    string __key = LuaAPI.lua_tostring(L, 1);
                        TableConfig.AncientRobotNameConfig gen_ret = ConfigUtil.GetAncientRobotName( __key );
                        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_GetChatBubbleBox_xlua_st_(RealStatePtr L)
        {
            try {
Lua/Gen/DelegatesGensBridge.cs
@@ -663,7 +663,29 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp29(object p0, int p1, out Snxxz.UI.CrossServerOneVsOneModel.CrossServerOneVsOneHistory p2)
        public PlayerBuffDatas __Gen_Delegate_Imp29(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
            {
#endif
                RealStatePtr L = luaEnv.rawL;
                int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
                ObjectTranslator translator = luaEnv.translator;
                translator.PushAny(L, p0);
                PCall(L, 1, 1, errFunc);
                PlayerBuffDatas __gen_ret = (PlayerBuffDatas)translator.GetObject(L, errFunc + 1, typeof(PlayerBuffDatas));
                LuaAPI.lua_settop(L, errFunc - 1);
                return  __gen_ret;
#if THREAD_SAFE || HOTFIX_ENABLE
            }
#endif
        }
        public bool __Gen_Delegate_Imp30(object p0, int p1, out Snxxz.UI.CrossServerOneVsOneModel.CrossServerOneVsOneHistory p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -687,7 +709,7 @@
#endif
        }
        
        public System.Collections.Generic.List<Snxxz.UI.CrossServerOneVsOnePKSeason.PkZoneInfo> __Gen_Delegate_Imp30(object p0)
        public System.Collections.Generic.List<Snxxz.UI.CrossServerOneVsOnePKSeason.PkZoneInfo> __Gen_Delegate_Imp31(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -709,7 +731,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp31(object p0, out Snxxz.UI.CrossServerOneVsOnePKSeason.PkZoneInfo p1)
        public bool __Gen_Delegate_Imp32(object p0, out Snxxz.UI.CrossServerOneVsOnePKSeason.PkZoneInfo p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -732,7 +754,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp32(object p0, out Snxxz.UI.CrossServerOneVsOnePKSeason.PkSeasonInfo p1)
        public bool __Gen_Delegate_Imp33(object p0, out Snxxz.UI.CrossServerOneVsOnePKSeason.PkSeasonInfo p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -755,7 +777,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp33(object p0, System.DateTime p1)
        public bool __Gen_Delegate_Imp34(object p0, System.DateTime p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -778,7 +800,7 @@
#endif
        }
        
        public System.Collections.Generic.List<HourMinute> __Gen_Delegate_Imp34(object p0)
        public System.Collections.Generic.List<HourMinute> __Gen_Delegate_Imp35(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -800,7 +822,7 @@
#endif
        }
        
        public int __Gen_Delegate_Imp35(object p0, System.DateTime p1)
        public int __Gen_Delegate_Imp36(object p0, System.DateTime p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -823,7 +845,7 @@
#endif
        }
        
        public string __Gen_Delegate_Imp36(object p0, Snxxz.UI.OperationDate p1, Snxxz.UI.OperationDate p2)
        public string __Gen_Delegate_Imp37(object p0, Snxxz.UI.OperationDate p1, Snxxz.UI.OperationDate p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -847,7 +869,7 @@
#endif
        }
        
        public uint[] __Gen_Delegate_Imp37(object p0)
        public uint[] __Gen_Delegate_Imp38(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -869,7 +891,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp38(object p0, out int p1, out int p2)
        public void __Gen_Delegate_Imp39(object p0, out int p1, out int p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -893,7 +915,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp39(object p0, out int p1)
        public bool __Gen_Delegate_Imp40(object p0, out int p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -916,7 +938,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp40(object p0, ScrollerDataType p1, object p2)
        public void __Gen_Delegate_Imp41(object p0, ScrollerDataType p1, object p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -940,7 +962,7 @@
#endif
        }
        
        public Snxxz.UI.ItemTipsModel __Gen_Delegate_Imp41(object p0)
        public Snxxz.UI.ItemTipsModel __Gen_Delegate_Imp42(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -962,7 +984,7 @@
#endif
        }
        
        public UnityEngine.UI.Button __Gen_Delegate_Imp42(object p0)
        public UnityEngine.UI.Button __Gen_Delegate_Imp43(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -984,7 +1006,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp43(object p0, ScrollerDataType p1, int p2)
        public void __Gen_Delegate_Imp44(object p0, ScrollerDataType p1, int p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1008,7 +1030,7 @@
#endif
        }
        
        public int __Gen_Delegate_Imp44(object p0, int p1)
        public int __Gen_Delegate_Imp45(object p0, int p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1031,7 +1053,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp45(object p0, object p1)
        public bool __Gen_Delegate_Imp46(object p0, object p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1054,7 +1076,7 @@
#endif
        }
        
        public Snxxz.UI.DungeonAssistModel __Gen_Delegate_Imp46(object p0)
        public Snxxz.UI.DungeonAssistModel __Gen_Delegate_Imp47(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1076,7 +1098,7 @@
#endif
        }
        
        public FriendsModel __Gen_Delegate_Imp47(object p0)
        public FriendsModel __Gen_Delegate_Imp48(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1098,7 +1120,7 @@
#endif
        }
        
        public Snxxz.UI.TreasureModel __Gen_Delegate_Imp48(object p0)
        public Snxxz.UI.TreasureModel __Gen_Delegate_Imp49(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1120,7 +1142,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp49(object p0, bool p1, float p2)
        public void __Gen_Delegate_Imp50(object p0, bool p1, float p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1144,7 +1166,7 @@
#endif
        }
        
        public System.Collections.Generic.List<string> __Gen_Delegate_Imp50(object p0)
        public System.Collections.Generic.List<string> __Gen_Delegate_Imp51(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1166,7 +1188,7 @@
#endif
        }
        
        public Snxxz.UI.FairyModel __Gen_Delegate_Imp51(object p0)
        public Snxxz.UI.FairyModel __Gen_Delegate_Imp52(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1188,7 +1210,7 @@
#endif
        }
        
        public Snxxz.UI.TeamModel __Gen_Delegate_Imp52(object p0)
        public Snxxz.UI.TeamModel __Gen_Delegate_Imp53(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1210,7 +1232,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp53(object p0, int p1, out int p2)
        public bool __Gen_Delegate_Imp54(object p0, int p1, out int p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1234,7 +1256,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp54(object p0, out string p1)
        public bool __Gen_Delegate_Imp55(object p0, out string p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1257,7 +1279,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp55(object p0, out int p1, out int p2)
        public bool __Gen_Delegate_Imp56(object p0, out int p1, out int p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1281,7 +1303,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp56(object p0, out int p1, out float p2)
        public bool __Gen_Delegate_Imp57(object p0, out int p1, out float p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1305,7 +1327,7 @@
#endif
        }
        
        public int __Gen_Delegate_Imp57(object p0, VipPrivilegeType p1)
        public int __Gen_Delegate_Imp58(object p0, VipPrivilegeType p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1328,7 +1350,7 @@
#endif
        }
        
        public Snxxz.UI.DungeonAssistModel.RelatedToPlayer __Gen_Delegate_Imp58(object p0, int p1)
        public Snxxz.UI.DungeonAssistModel.RelatedToPlayer __Gen_Delegate_Imp59(object p0, int p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1351,7 +1373,7 @@
#endif
        }
        
        public System.Collections.Generic.Dictionary<string, TableConfig.DungeonHelpBattleConfig> __Gen_Delegate_Imp59(object p0)
        public System.Collections.Generic.Dictionary<string, TableConfig.DungeonHelpBattleConfig> __Gen_Delegate_Imp60(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1373,7 +1395,7 @@
#endif
        }
        
        public System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>> __Gen_Delegate_Imp60(object p0)
        public System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>> __Gen_Delegate_Imp61(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1395,7 +1417,7 @@
#endif
        }
        
        public int __Gen_Delegate_Imp61(object p0, int p1, bool p2)
        public int __Gen_Delegate_Imp62(object p0, int p1, bool p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1419,7 +1441,7 @@
#endif
        }
        
        public TableConfig.DungeonHelpBattleConfig __Gen_Delegate_Imp62(object p0, int p1, int p2)
        public TableConfig.DungeonHelpBattleConfig __Gen_Delegate_Imp63(object p0, int p1, int p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1443,7 +1465,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp63(object p0, object p1, object p2, bool p3, bool p4)
        public void __Gen_Delegate_Imp64(object p0, object p1, object p2, bool p3, bool p4)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1469,7 +1491,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp64(object p0, object p1, out string p2, out string p3, out bool p4, out bool p5)
        public bool __Gen_Delegate_Imp65(object p0, object p1, out string p2, out string p3, out bool p4, out bool p5)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1496,7 +1518,7 @@
#endif
        }
        
        public Snxxz.UI.DungeonAssistModel.AssistPlayerInfo __Gen_Delegate_Imp65(object p0, int p1)
        public Snxxz.UI.DungeonAssistModel.AssistPlayerInfo __Gen_Delegate_Imp66(object p0, int p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1519,7 +1541,7 @@
#endif
        }
        
        public System.Collections.Generic.List<Snxxz.UI.DungeonAssistModel.AssistPlayerInfo> __Gen_Delegate_Imp66(object p0)
        public System.Collections.Generic.List<Snxxz.UI.DungeonAssistModel.AssistPlayerInfo> __Gen_Delegate_Imp67(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1541,7 +1563,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp67(object p0, int p1, int p2, int p3)
        public void __Gen_Delegate_Imp68(object p0, int p1, int p2, int p3)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1566,7 +1588,7 @@
#endif
        }
        
        public Snxxz.UI.Redpoint __Gen_Delegate_Imp68(object p0)
        public Snxxz.UI.Redpoint __Gen_Delegate_Imp69(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1588,7 +1610,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp69(object p0, float p1)
        public void __Gen_Delegate_Imp70(object p0, float p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1611,7 +1633,7 @@
#endif
        }
        
        public System.Collections.IEnumerator __Gen_Delegate_Imp70(object p0)
        public System.Collections.IEnumerator __Gen_Delegate_Imp71(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1633,7 +1655,7 @@
#endif
        }
        
        public StoreModel __Gen_Delegate_Imp71(object p0)
        public StoreModel __Gen_Delegate_Imp72(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1655,7 +1677,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp72(object p0, PlayerDataRefresh p1)
        public void __Gen_Delegate_Imp73(object p0, PlayerDataRefresh p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1678,7 +1700,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp73(object p0, Snxxz.UI.PlayerDetails.DetailType p1)
        public void __Gen_Delegate_Imp74(object p0, Snxxz.UI.PlayerDetails.DetailType p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1701,7 +1723,7 @@
#endif
        }
        
        public Snxxz.UI.FairyFeastModel __Gen_Delegate_Imp74(object p0)
        public Snxxz.UI.FairyFeastModel __Gen_Delegate_Imp75(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1723,7 +1745,7 @@
#endif
        }
        
        public int __Gen_Delegate_Imp75(object p0, Snxxz.UI.FairyFeastRank p1, Snxxz.UI.FairyFeastRank p2)
        public int __Gen_Delegate_Imp76(object p0, Snxxz.UI.FairyFeastRank p1, Snxxz.UI.FairyFeastRank p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1747,7 +1769,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp76(object p0, uint p1, int p2)
        public void __Gen_Delegate_Imp77(object p0, uint p1, int p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1771,7 +1793,7 @@
#endif
        }
        
        public System.Collections.IEnumerator __Gen_Delegate_Imp77(object p0, int p1)
        public System.Collections.IEnumerator __Gen_Delegate_Imp78(object p0, int p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1794,7 +1816,7 @@
#endif
        }
        
        public PlayerMainDate __Gen_Delegate_Imp78(object p0)
        public PlayerMainDate __Gen_Delegate_Imp79(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1816,7 +1838,7 @@
#endif
        }
        
        public Snxxz.UI.RuneTowerModel __Gen_Delegate_Imp79(object p0)
        public Snxxz.UI.RuneTowerModel __Gen_Delegate_Imp80(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1838,7 +1860,7 @@
#endif
        }
        
        public Snxxz.UI.BossHomeModel __Gen_Delegate_Imp80(object p0)
        public Snxxz.UI.BossHomeModel __Gen_Delegate_Imp81(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1860,7 +1882,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp81(object p0, DungeonCoolDownType p1)
        public void __Gen_Delegate_Imp82(object p0, DungeonCoolDownType p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1883,7 +1905,7 @@
#endif
        }
        
        public IceCrystalVeinModel __Gen_Delegate_Imp82(object p0)
        public IceCrystalVeinModel __Gen_Delegate_Imp83(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1905,7 +1927,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp83(object p0, int p1, bool p2)
        public void __Gen_Delegate_Imp84(object p0, int p1, bool p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1929,7 +1951,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp84(object p0, int p1, object p2, int p3)
        public void __Gen_Delegate_Imp85(object p0, int p1, object p2, int p3)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1954,7 +1976,7 @@
#endif
        }
        
        public Snxxz.UI.PlayerPackModel __Gen_Delegate_Imp85(object p0)
        public Snxxz.UI.PlayerPackModel __Gen_Delegate_Imp86(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -1976,7 +1998,7 @@
#endif
        }
        
        public int __Gen_Delegate_Imp86(object p0, Snxxz.UI.Item p1, Snxxz.UI.Item p2)
        public int __Gen_Delegate_Imp87(object p0, Snxxz.UI.Item p1, Snxxz.UI.Item p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -2000,7 +2022,7 @@
#endif
        }
        
        public string __Gen_Delegate_Imp87(object p0, int p1)
        public string __Gen_Delegate_Imp88(object p0, int p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -2023,7 +2045,7 @@
#endif
        }
        
        public Snxxz.UI.FairyFeastTransmitShow __Gen_Delegate_Imp88()
        public Snxxz.UI.FairyFeastTransmitShow __Gen_Delegate_Imp89()
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -2044,7 +2066,7 @@
#endif
        }
        
        public UnityEngine.Camera __Gen_Delegate_Imp89(object p0)
        public UnityEngine.Camera __Gen_Delegate_Imp90(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -2066,7 +2088,7 @@
#endif
        }
        
        public Snxxz.UI.FairyFeastTransmitShow.FairyTransmitModel __Gen_Delegate_Imp90(object p0)
        public Snxxz.UI.FairyFeastTransmitShow.FairyTransmitModel __Gen_Delegate_Imp91(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -2088,7 +2110,7 @@
#endif
        }
        
        public float __Gen_Delegate_Imp91(object p0)
        public float __Gen_Delegate_Imp92(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -2110,7 +2132,7 @@
#endif
        }
        
        public Snxxz.UI.RoleParticularModel __Gen_Delegate_Imp92(object p0)
        public Snxxz.UI.RoleParticularModel __Gen_Delegate_Imp93(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -2132,7 +2154,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp93(object p0, ulong p1)
        public void __Gen_Delegate_Imp94(object p0, ulong p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -2155,7 +2177,7 @@
#endif
        }
        
        public UnityEngine.GameObject __Gen_Delegate_Imp94(object p0)
        public UnityEngine.GameObject __Gen_Delegate_Imp95(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -2177,7 +2199,7 @@
#endif
        }
        
        public int __Gen_Delegate_Imp95(object p0, Snxxz.UI.ServerItem p1, Snxxz.UI.ServerItem p2)
        public int __Gen_Delegate_Imp96(object p0, Snxxz.UI.ServerItem p1, Snxxz.UI.ServerItem p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -2201,7 +2223,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp96(bool p0)
        public void __Gen_Delegate_Imp97(bool p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -2223,7 +2245,7 @@
#endif
        }
        
        public Snxxz.UI.GatherSoulDungeonModel __Gen_Delegate_Imp97(object p0)
        public Snxxz.UI.GatherSoulDungeonModel __Gen_Delegate_Imp98(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -2245,7 +2267,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp98(object p0, int p1, uint p2)
        public void __Gen_Delegate_Imp99(object p0, int p1, uint p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -2257,30 +2279,6 @@
                translator.PushAny(L, p0);
                LuaAPI.xlua_pushinteger(L, p1);
                LuaAPI.xlua_pushuint(L, p2);
                PCall(L, 3, 0, errFunc);
                LuaAPI.lua_settop(L, errFunc - 1);
#if THREAD_SAFE || HOTFIX_ENABLE
            }
#endif
        }
        public void __Gen_Delegate_Imp99(object p0, int p1, byte p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
            {
#endif
                RealStatePtr L = luaEnv.rawL;
                int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
                ObjectTranslator translator = luaEnv.translator;
                translator.PushAny(L, p0);
                LuaAPI.xlua_pushinteger(L, p1);
                LuaAPI.xlua_pushinteger(L, p2);
                
                PCall(L, 3, 0, errFunc);
                
@@ -3426,7 +3424,97 @@
#endif
        }
        
        public PlayerTaskDatas __Gen_Delegate_Imp148(object p0)
        public Snxxz.UI.KingTreasureModel __Gen_Delegate_Imp148(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
            {
#endif
                RealStatePtr L = luaEnv.rawL;
                int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
                ObjectTranslator translator = luaEnv.translator;
                translator.PushAny(L, p0);
                PCall(L, 1, 1, errFunc);
                Snxxz.UI.KingTreasureModel __gen_ret = (Snxxz.UI.KingTreasureModel)translator.GetObject(L, errFunc + 1, typeof(Snxxz.UI.KingTreasureModel));
                LuaAPI.lua_settop(L, errFunc - 1);
                return  __gen_ret;
#if THREAD_SAFE || HOTFIX_ENABLE
            }
#endif
        }
        public TableConfig.KingTreasureItemConfig __Gen_Delegate_Imp149(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
            {
#endif
                RealStatePtr L = luaEnv.rawL;
                int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
                ObjectTranslator translator = luaEnv.translator;
                translator.PushAny(L, p0);
                PCall(L, 1, 1, errFunc);
                TableConfig.KingTreasureItemConfig __gen_ret = (TableConfig.KingTreasureItemConfig)translator.GetObject(L, errFunc + 1, typeof(TableConfig.KingTreasureItemConfig));
                LuaAPI.lua_settop(L, errFunc - 1);
                return  __gen_ret;
#if THREAD_SAFE || HOTFIX_ENABLE
            }
#endif
        }
        public string __Gen_Delegate_Imp150(object p0, object p1, int p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
            {
#endif
                RealStatePtr L = luaEnv.rawL;
                int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
                ObjectTranslator translator = luaEnv.translator;
                translator.PushAny(L, p0);
                translator.PushAny(L, p1);
                LuaAPI.xlua_pushinteger(L, p2);
                PCall(L, 3, 1, errFunc);
                string __gen_ret = LuaAPI.lua_tostring(L, errFunc + 1);
                LuaAPI.lua_settop(L, errFunc - 1);
                return  __gen_ret;
#if THREAD_SAFE || HOTFIX_ENABLE
            }
#endif
        }
        public Snxxz.UI.KingTreasureShowModel __Gen_Delegate_Imp151(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
            {
#endif
                RealStatePtr L = luaEnv.rawL;
                int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
                ObjectTranslator translator = luaEnv.translator;
                translator.PushAny(L, p0);
                PCall(L, 1, 1, errFunc);
                Snxxz.UI.KingTreasureShowModel __gen_ret = (Snxxz.UI.KingTreasureShowModel)translator.GetObject(L, errFunc + 1, typeof(Snxxz.UI.KingTreasureShowModel));
                LuaAPI.lua_settop(L, errFunc - 1);
                return  __gen_ret;
#if THREAD_SAFE || HOTFIX_ENABLE
            }
#endif
        }
        public PlayerTaskDatas __Gen_Delegate_Imp152(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3448,7 +3536,7 @@
#endif
        }
        
        public System.Collections.IEnumerator __Gen_Delegate_Imp149(object p0, int p1, int p2)
        public System.Collections.IEnumerator __Gen_Delegate_Imp153(object p0, int p1, int p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3472,7 +3560,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp150(object p0, TreasureCategory p1)
        public void __Gen_Delegate_Imp154(object p0, TreasureCategory p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3495,7 +3583,7 @@
#endif
        }
        
        public Snxxz.UI.VipModel __Gen_Delegate_Imp151(object p0)
        public Snxxz.UI.VipModel __Gen_Delegate_Imp155(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3517,7 +3605,7 @@
#endif
        }
        
        public Snxxz.UI.MarketModel __Gen_Delegate_Imp152(object p0)
        public Snxxz.UI.MarketModel __Gen_Delegate_Imp156(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3539,7 +3627,7 @@
#endif
        }
        
        public Snxxz.UI.FlashSaleModel __Gen_Delegate_Imp153(object p0)
        public Snxxz.UI.FlashSaleModel __Gen_Delegate_Imp157(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3561,7 +3649,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp154(object p0, Snxxz.UI.OperationFlashSale.FlashSaleGift p1)
        public void __Gen_Delegate_Imp158(object p0, Snxxz.UI.OperationFlashSale.FlashSaleGift p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3584,7 +3672,7 @@
#endif
        }
        
        public Snxxz.UI.MysticalPurchaseModel __Gen_Delegate_Imp155(object p0)
        public Snxxz.UI.MysticalPurchaseModel __Gen_Delegate_Imp159(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3606,7 +3694,7 @@
#endif
        }
        
        public Snxxz.UI.ImpactRankModel __Gen_Delegate_Imp156(object p0)
        public Snxxz.UI.ImpactRankModel __Gen_Delegate_Imp160(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3628,7 +3716,7 @@
#endif
        }
        
        public Snxxz.UI.OSRedEnvelopeModel __Gen_Delegate_Imp157(object p0)
        public Snxxz.UI.OSRedEnvelopeModel __Gen_Delegate_Imp161(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3650,7 +3738,7 @@
#endif
        }
        
        public Snxxz.UI.FairyLeagueModel __Gen_Delegate_Imp158(object p0)
        public Snxxz.UI.FairyLeagueModel __Gen_Delegate_Imp162(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3672,7 +3760,7 @@
#endif
        }
        
        public Snxxz.UI.FairyGrabBossModel __Gen_Delegate_Imp159(object p0)
        public Snxxz.UI.FairyGrabBossModel __Gen_Delegate_Imp163(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3694,7 +3782,7 @@
#endif
        }
        
        public Snxxz.UI.OSGiftModel __Gen_Delegate_Imp160(object p0)
        public Snxxz.UI.OSGiftModel __Gen_Delegate_Imp164(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3716,7 +3804,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp161(object p0, Snxxz.UI.Operation p1)
        public void __Gen_Delegate_Imp165(object p0, Snxxz.UI.Operation p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3739,7 +3827,7 @@
#endif
        }
        
        public Snxxz.UI.RealmModel __Gen_Delegate_Imp162(object p0)
        public Snxxz.UI.RealmModel __Gen_Delegate_Imp166(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3761,7 +3849,7 @@
#endif
        }
        
        public Snxxz.UI.MagicianModel __Gen_Delegate_Imp163(object p0)
        public Snxxz.UI.MagicianModel __Gen_Delegate_Imp167(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3783,7 +3871,7 @@
#endif
        }
        
        public Snxxz.UI.FuncSwitchModel __Gen_Delegate_Imp164(object p0)
        public Snxxz.UI.FuncSwitchModel __Gen_Delegate_Imp168(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3805,7 +3893,7 @@
#endif
        }
        
        public System.Collections.Generic.Dictionary<int, Snxxz.UI.FuncSwitchModel.FuncSwithData> __Gen_Delegate_Imp165(object p0)
        public System.Collections.Generic.Dictionary<int, Snxxz.UI.FuncSwitchModel.FuncSwithData> __Gen_Delegate_Imp169(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3827,7 +3915,7 @@
#endif
        }
        
        public Snxxz.UI.TestModel __Gen_Delegate_Imp166(object p0)
        public Snxxz.UI.TestModel __Gen_Delegate_Imp170(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3849,7 +3937,7 @@
#endif
        }
        
        public UIEffect __Gen_Delegate_Imp167(object p0)
        public UIEffect __Gen_Delegate_Imp171(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3871,7 +3959,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp168(object p0, object p1, object p2)
        public void __Gen_Delegate_Imp172(object p0, object p1, object p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3895,29 +3983,7 @@
#endif
        }
        
        public Snxxz.UI.KingTreasureModel __Gen_Delegate_Imp169(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
            {
#endif
                RealStatePtr L = luaEnv.rawL;
                int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
                ObjectTranslator translator = luaEnv.translator;
                translator.PushAny(L, p0);
                PCall(L, 1, 1, errFunc);
                Snxxz.UI.KingTreasureModel __gen_ret = (Snxxz.UI.KingTreasureModel)translator.GetObject(L, errFunc + 1, typeof(Snxxz.UI.KingTreasureModel));
                LuaAPI.lua_settop(L, errFunc - 1);
                return  __gen_ret;
#if THREAD_SAFE || HOTFIX_ENABLE
            }
#endif
        }
        public Treasure3DConfig __Gen_Delegate_Imp170(object p0)
        public Treasure3DConfig __Gen_Delegate_Imp173(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3939,7 +4005,7 @@
#endif
        }
        
        public Snxxz.UI.AchievementModel __Gen_Delegate_Imp171(object p0)
        public Snxxz.UI.AchievementModel __Gen_Delegate_Imp174(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3961,7 +4027,7 @@
#endif
        }
        
        public UnityEngine.Vector3 __Gen_Delegate_Imp172(object p0, int p1)
        public UnityEngine.Vector3 __Gen_Delegate_Imp175(object p0, int p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -3984,7 +4050,7 @@
#endif
        }
        
        public UnityEngine.Vector3 __Gen_Delegate_Imp173(object p0, UnityEngine.Vector3 p1)
        public UnityEngine.Vector3 __Gen_Delegate_Imp176(object p0, UnityEngine.Vector3 p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -4007,7 +4073,7 @@
#endif
        }
        
        public System.Collections.IEnumerator __Gen_Delegate_Imp174(object p0, float p1)
        public System.Collections.IEnumerator __Gen_Delegate_Imp177(object p0, float p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -4030,7 +4096,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp175(object p0, bool p1, bool p2)
        public void __Gen_Delegate_Imp178(object p0, bool p1, bool p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -4054,7 +4120,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp176(object p0, Snxxz.UI.TreasureAnimation.TreasureShowStep p1)
        public void __Gen_Delegate_Imp179(object p0, Snxxz.UI.TreasureAnimation.TreasureShowStep p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -4077,7 +4143,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp177(object p0, bool p1, int p2)
        public void __Gen_Delegate_Imp180(object p0, bool p1, int p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -4101,7 +4167,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp178(object p0, PackType p1, int p2, int p3)
        public void __Gen_Delegate_Imp181(object p0, PackType p1, int p2, int p3)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -4126,7 +4192,7 @@
#endif
        }
        
        public UnityEngine.Transform __Gen_Delegate_Imp179(object p0)
        public UnityEngine.Transform __Gen_Delegate_Imp182(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -4148,7 +4214,7 @@
#endif
        }
        
        public UnityEngine.Vector3 __Gen_Delegate_Imp180(object p0)
        public UnityEngine.Vector3 __Gen_Delegate_Imp183(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -4170,7 +4236,7 @@
#endif
        }
        
        public Treasure3DConfig.TreasureParam __Gen_Delegate_Imp181(object p0)
        public Treasure3DConfig.TreasureParam __Gen_Delegate_Imp184(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -4192,7 +4258,7 @@
#endif
        }
        
        public Snxxz.UI.UI3DTreasureSelectStage __Gen_Delegate_Imp182()
        public Snxxz.UI.UI3DTreasureSelectStage __Gen_Delegate_Imp185()
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -4213,7 +4279,7 @@
#endif
        }
        
        public TreasureCategory __Gen_Delegate_Imp183(object p0)
        public TreasureCategory __Gen_Delegate_Imp186(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -4235,7 +4301,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp184(object p0, bool p1, TreasureCategory p2)
        public void __Gen_Delegate_Imp187(object p0, bool p1, TreasureCategory p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -4259,7 +4325,7 @@
#endif
        }
        
        public System.Collections.IEnumerator __Gen_Delegate_Imp185(object p0, TreasureCategory p1, object p2)
        public System.Collections.IEnumerator __Gen_Delegate_Imp188(object p0, TreasureCategory p1, object p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -4283,7 +4349,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp186(object p0, TreasureCategory p1, bool p2)
        public void __Gen_Delegate_Imp189(object p0, TreasureCategory p1, bool p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -4307,7 +4373,7 @@
#endif
        }
        
        public System.Collections.IEnumerator __Gen_Delegate_Imp187(object p0, object p1, float p2)
        public System.Collections.IEnumerator __Gen_Delegate_Imp190(object p0, object p1, float p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -4331,7 +4397,7 @@
#endif
        }
        
        public Snxxz.UI.SignInModel __Gen_Delegate_Imp188(object p0)
        public Snxxz.UI.SignInModel __Gen_Delegate_Imp191(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
Lua/Gen/GAMgrWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(GAMgr);
            Utils.BeginObjectRegister(type, L, translator, 0, 30, 7, 7);
            Utils.BeginObjectRegister(type, L, translator, 0, 31, 8, 8);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddNeedDestroyPrefab", _m_AddNeedDestroyPrefab);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveNeedDestroyPrefab", _m_RemoveNeedDestroyPrefab);
@@ -37,6 +37,7 @@
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "ReleaseAll", _m_ReleaseAll);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBySID", _m_GetBySID);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetByCID", _m_GetByCID);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCloserCollectNpc", _m_GetCloserCollectNpc);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCloserFightNpc", _m_GetCloserFightNpc);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCloserNPC", _m_GetCloserNPC);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetGroupList", _m_GetGroupList);
@@ -55,7 +56,8 @@
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnFightNpcRequest", _e_OnFightNpcRequest);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnFightNpcRelease", _e_OnFightNpcRelease);
            
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "s_NpcID2BundleName", _g_get_s_NpcID2BundleName);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "reAdjustPosList", _g_get_reAdjustPosList);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "s_NpcID2BundleName", _g_get_s_NpcID2BundleName);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "s_NpcID2Assetname", _g_get_s_NpcID2Assetname);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "needDestroyPrefabList", _g_get_needDestroyPrefabList);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "needDieList", _g_get_needDieList);
@@ -63,7 +65,8 @@
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "otherPlayerAtkHeroDict", _g_get_otherPlayerAtkHeroDict);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "_removeIdList", _g_get__removeIdList);
            
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "s_NpcID2BundleName", _s_set_s_NpcID2BundleName);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "reAdjustPosList", _s_set_reAdjustPosList);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "s_NpcID2BundleName", _s_set_s_NpcID2BundleName);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "s_NpcID2Assetname", _s_set_s_NpcID2Assetname);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "needDestroyPrefabList", _s_set_needDestroyPrefabList);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "needDieList", _s_set_needDieList);
@@ -505,6 +508,35 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetCloserCollectNpc(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                GAMgr gen_to_be_invoked = (GAMgr)translator.FastGetCSObj(L, 1);
                {
                    UnityEngine.Vector3 _center;translator.Get(L, 2, out _center);
                        GActor gen_ret = gen_to_be_invoked.GetCloserCollectNpc( _center );
                        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_GetCloserFightNpc(RealStatePtr L)
        {
            try {
@@ -897,6 +929,20 @@
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_reAdjustPosList(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                GAMgr gen_to_be_invoked = (GAMgr)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.reAdjustPosList);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_s_NpcID2BundleName(RealStatePtr L)
        {
            try {
@@ -997,6 +1043,21 @@
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_reAdjustPosList(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                GAMgr gen_to_be_invoked = (GAMgr)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.reAdjustPosList = (System.Collections.Generic.List<GActor>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<GActor>));
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_s_NpcID2BundleName(RealStatePtr L)
        {
            try {
Lua/Gen/Resources.meta
New file
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: a545fb3dcf719304fa74180c10219375
folderAsset: yes
timeCreated: 1542357825
licenseType: Pro
DefaultImporter:
  userData:
  assetBundleName:
  assetBundleVariant:
Lua/Gen/SnxxzUICrossServerOneVsOneModelWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.CrossServerOneVsOneModel);
            Utils.BeginObjectRegister(type, L, translator, 0, 20, 16, 6);
            Utils.BeginObjectRegister(type, L, translator, 0, 22, 18, 8);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
@@ -39,14 +39,17 @@
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnReceivePackage", _m_OnReceivePackage);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetOneVsOneHistory", _m_TryGetOneVsOneHistory);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetPkInfoLocalSave", _m_SetPkInfoLocalSave);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateCrossArenaRedpoint", _m_UpdateCrossArenaRedpoint);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateCrossDayAwardsRedpoint", _m_UpdateCrossDayAwardsRedpoint);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateCrossMatchRedpoint", _m_UpdateCrossMatchRedpoint);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateDayAwardsEvent", _e_UpdateDayAwardsEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateMatchStateEvent", _e_UpdateMatchStateEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdatePkResultEvent", _e_UpdatePkResultEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "oneVsOneHistoryRefresh", _e_oneVsOneHistoryRefresh);
            
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "PkResultLocalSaveKey", _g_get_PkResultLocalSaveKey);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "localSaveResults", _g_get_localSaveResults);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "isClickCoolTime", _g_get_isClickCoolTime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsMatching", _g_get_IsMatching);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "matchStartTime", _g_get_matchStartTime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "roundEndTime", _g_get_roundEndTime);
@@ -57,13 +60,16 @@
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "dayAwardTypelist", _g_get_dayAwardTypelist);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "afterOpenDayOpenCross", _g_get_afterOpenDayOpenCross);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "pkResultInfo", _g_get_pkResultInfo);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "crossServerRedpoint", _g_get_crossServerRedpoint);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "crossOneVsOneRedpoint", _g_get_crossOneVsOneRedpoint);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "crossArenaRedpoint", _g_get_crossArenaRedpoint);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "crossDayAwardsRedpoint", _g_get_crossDayAwardsRedpoint);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "crossMatchRedpoint", _g_get_crossMatchRedpoint);
            
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "IsMatching", _s_set_IsMatching);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "isClickCoolTime", _s_set_isClickCoolTime);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "IsMatching", _s_set_IsMatching);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "matchStartTime", _s_set_matchStartTime);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "crossServerRedpoint", _s_set_crossServerRedpoint);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "crossOneVsOneRedpoint", _s_set_crossOneVsOneRedpoint);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "crossArenaRedpoint", _s_set_crossArenaRedpoint);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "crossDayAwardsRedpoint", _s_set_crossDayAwardsRedpoint);
@@ -73,10 +79,11 @@
            Utils.EndObjectRegister(type, L, translator, null, null,
                null, null, null);
            Utils.BeginClassRegister(type, L, __CreateInstance, 6, 0, 0);
            Utils.BeginClassRegister(type, L, __CreateInstance, 7, 0, 0);
            
            
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "CrossServerDataMapId", Snxxz.UI.CrossServerOneVsOneModel.CrossServerDataMapId);
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "CrossServerRedKey", Snxxz.UI.CrossServerOneVsOneModel.CrossServerRedKey);
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "CrossOneVsOneRedKey", Snxxz.UI.CrossServerOneVsOneModel.CrossOneVsOneRedKey);
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "CrossArenaRedKey", Snxxz.UI.CrossServerOneVsOneModel.CrossArenaRedKey);
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "CrossDayAwardsRedKey", Snxxz.UI.CrossServerOneVsOneModel.CrossDayAwardsRedKey);
@@ -565,7 +572,7 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateCrossArenaRedpoint(RealStatePtr L)
        static int _m_UpdateCrossDayAwardsRedpoint(RealStatePtr L)
        {
            try {
            
@@ -579,6 +586,33 @@
                {
                    
                    gen_to_be_invoked.UpdateCrossDayAwardsRedpoint(  );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateCrossMatchRedpoint(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.CrossServerOneVsOneModel gen_to_be_invoked = (Snxxz.UI.CrossServerOneVsOneModel)translator.FastGetCSObj(L, 1);
                {
                    gen_to_be_invoked.UpdateCrossMatchRedpoint(  );
                    
                    
                    
@@ -616,6 +650,20 @@
            
                Snxxz.UI.CrossServerOneVsOneModel gen_to_be_invoked = (Snxxz.UI.CrossServerOneVsOneModel)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.localSaveResults);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_isClickCoolTime(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.CrossServerOneVsOneModel gen_to_be_invoked = (Snxxz.UI.CrossServerOneVsOneModel)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isClickCoolTime);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
@@ -763,6 +811,20 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_crossServerRedpoint(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.CrossServerOneVsOneModel gen_to_be_invoked = (Snxxz.UI.CrossServerOneVsOneModel)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.crossServerRedpoint);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_crossOneVsOneRedpoint(RealStatePtr L)
        {
            try {
@@ -821,6 +883,21 @@
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_isClickCoolTime(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.CrossServerOneVsOneModel gen_to_be_invoked = (Snxxz.UI.CrossServerOneVsOneModel)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.isClickCoolTime = LuaAPI.lua_toboolean(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_IsMatching(RealStatePtr L)
        {
            try {
@@ -844,6 +921,21 @@
                Snxxz.UI.CrossServerOneVsOneModel gen_to_be_invoked = (Snxxz.UI.CrossServerOneVsOneModel)translator.FastGetCSObj(L, 1);
                System.DateTime gen_value;translator.Get(L, 2, out gen_value);
                gen_to_be_invoked.matchStartTime = gen_value;
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_crossServerRedpoint(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.CrossServerOneVsOneModel gen_to_be_invoked = (Snxxz.UI.CrossServerOneVsOneModel)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.crossServerRedpoint = (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);
@@ -948,6 +1040,40 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_UpdateMatchStateEvent(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                int gen_param_count = LuaAPI.lua_gettop(L);
            Snxxz.UI.CrossServerOneVsOneModel gen_to_be_invoked = (Snxxz.UI.CrossServerOneVsOneModel)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.UpdateMatchStateEvent += gen_delegate;
                        return 0;
                    }
                    if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
                        gen_to_be_invoked.UpdateMatchStateEvent -= 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.CrossServerOneVsOneModel.UpdateMatchStateEvent!");
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_UpdatePkResultEvent(RealStatePtr L)
        {
            try {
Lua/Gen/SnxxzUIFairyFeastModelWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.FairyFeastModel);
            Utils.BeginObjectRegister(type, L, translator, 0, 10, 8, 3);
            Utils.BeginObjectRegister(type, L, translator, 0, 10, 9, 3);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
@@ -36,6 +36,7 @@
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "fairyFeastPlayerUpdate", _e_fairyFeastPlayerUpdate);
            
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "transmitCostSeconds", _g_get_transmitCostSeconds);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "transmitExpSeconds", _g_get_transmitExpSeconds);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "riseLevel", _g_get_riseLevel);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "expFlyStage", _g_get_expFlyStage);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "expFlyCount", _g_get_expFlyCount);
@@ -360,6 +361,20 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_transmitExpSeconds(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.FairyFeastModel gen_to_be_invoked = (Snxxz.UI.FairyFeastModel)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.transmitExpSeconds);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_riseLevel(RealStatePtr L)
        {
            try {
Lua/Gen/SnxxzUIGatherSoulDungeonModelWrap.cs
@@ -21,12 +21,14 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.GatherSoulDungeonModel);
            Utils.BeginObjectRegister(type, L, translator, 0, 10, 9, 1);
            Utils.BeginObjectRegister(type, L, translator, 0, 12, 9, 1);
            
            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, "GetAttackDefendSurplusCount", _m_GetAttackDefendSurplusCount);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetIceDefendSurplusCount", _m_GetIceDefendSurplusCount);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnReceiveDungeonMessage", _m_OnReceiveDungeonMessage);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetDungeonItems", _m_TryGetDungeonItems);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDefendNpcCount", _m_GetDefendNpcCount);
@@ -201,6 +203,62 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetAttackDefendSurplusCount(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.GatherSoulDungeonModel gen_to_be_invoked = (Snxxz.UI.GatherSoulDungeonModel)translator.FastGetCSObj(L, 1);
                {
                        int gen_ret = gen_to_be_invoked.GetAttackDefendSurplusCount(  );
                        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_GetIceDefendSurplusCount(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.GatherSoulDungeonModel gen_to_be_invoked = (Snxxz.UI.GatherSoulDungeonModel)translator.FastGetCSObj(L, 1);
                {
                        int gen_ret = gen_to_be_invoked.GetIceDefendSurplusCount(  );
                        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_OnReceiveDungeonMessage(RealStatePtr L)
        {
            try {
Lua/Gen/SnxxzUIKingTreasureShowModelWrap.cs
New file
@@ -0,0 +1,285 @@
#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 SnxxzUIKingTreasureShowModelWrap
    {
        public static void __Register(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.KingTreasureShowModel);
            Utils.BeginObjectRegister(type, L, translator, 0, 5, 4, 0);
            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, "SetInitData", _m_SetInitData);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "effectDes", _g_get_effectDes);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "kingTreasureItemConfig", _g_get_kingTreasureItemConfig);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "treasureId", _g_get_treasureId);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "treasureSource", _g_get_treasureSource);
            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.KingTreasureShowModel gen_ret = new Snxxz.UI.KingTreasureShowModel();
                    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.KingTreasureShowModel constructor!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Init(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.KingTreasureShowModel gen_to_be_invoked = (Snxxz.UI.KingTreasureShowModel)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.KingTreasureShowModel gen_to_be_invoked = (Snxxz.UI.KingTreasureShowModel)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.KingTreasureShowModel gen_to_be_invoked = (Snxxz.UI.KingTreasureShowModel)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.KingTreasureShowModel gen_to_be_invoked = (Snxxz.UI.KingTreasureShowModel)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_SetInitData(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.KingTreasureShowModel gen_to_be_invoked = (Snxxz.UI.KingTreasureShowModel)translator.FastGetCSObj(L, 1);
                {
                    int _itemId = LuaAPI.xlua_tointeger(L, 2);
                    gen_to_be_invoked.SetInitData( _itemId );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_effectDes(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.KingTreasureShowModel gen_to_be_invoked = (Snxxz.UI.KingTreasureShowModel)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, gen_to_be_invoked.effectDes);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_kingTreasureItemConfig(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.KingTreasureShowModel gen_to_be_invoked = (Snxxz.UI.KingTreasureShowModel)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.kingTreasureItemConfig);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_treasureId(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.KingTreasureShowModel gen_to_be_invoked = (Snxxz.UI.KingTreasureShowModel)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.treasureId);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_treasureSource(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.KingTreasureShowModel gen_to_be_invoked = (Snxxz.UI.KingTreasureShowModel)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, gen_to_be_invoked.treasureSource);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
    }
}
Lua/Gen/SnxxzUIKingTreasureShowModelWrap.cs.meta
New file
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: b6248d0dfa1fb2a43986ad2ad99f1b81
timeCreated: 1546147120
licenseType: Pro
MonoImporter:
  serializedVersion: 2
  defaultReferences: []
  executionOrder: 0
  icon: {instanceID: 0}
  userData:
  assetBundleName:
  assetBundleVariant:
Lua/Gen/SnxxzUIKnapsackTimeCDMgrWrap.cs
@@ -104,13 +104,14 @@
                    
                    return 0;
                }
                if(gen_param_count == 4&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4))
                if(gen_param_count == 5&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5))
                {
                    string _guid = LuaAPI.lua_tostring(L, 2);
                    int _itemId = LuaAPI.xlua_tointeger(L, 3);
                    double _cdTime = LuaAPI.lua_tonumber(L, 4);
                    int _serverSurplusTime = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.Register( _guid, _itemId, _cdTime );
                    gen_to_be_invoked.Register( _guid, _itemId, _cdTime, _serverSurplusTime );
                    
                    
                    
Lua/Gen/SnxxzUIKnapsackTimeCDMgrWrap.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 642127ab104febd4193bdbc5ceea06fa
timeCreated: 1545203730
timeCreated: 1546147185
licenseType: Pro
MonoImporter:
  serializedVersion: 2
Lua/Gen/SnxxzUIOpponentInformationWrap.cs
New file
@@ -0,0 +1,207 @@
#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 SnxxzUIOpponentInformationWrap
    {
        public static void __Register(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.OpponentInformation);
            Utils.BeginObjectRegister(type, L, translator, 0, 3, 2, 0);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetOpponentInformation0418", _m_GetOpponentInformation0418);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetOpponentInformation0434", _m_GetOpponentInformation0434);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "ShieldUpdate", _e_ShieldUpdate);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "PlayerID", _g_get_PlayerID);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "ExAttr4", _g_get_ExAttr4);
            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.OpponentInformation gen_ret = new Snxxz.UI.OpponentInformation();
                    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.OpponentInformation constructor!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetOpponentInformation0418(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.OpponentInformation gen_to_be_invoked = (Snxxz.UI.OpponentInformation)translator.FastGetCSObj(L, 1);
                {
                    H0418_tagObjInfoRefresh _info = (H0418_tagObjInfoRefresh)translator.GetObject(L, 2, typeof(H0418_tagObjInfoRefresh));
                    gen_to_be_invoked.GetOpponentInformation0418( _info );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetOpponentInformation0434(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.OpponentInformation gen_to_be_invoked = (Snxxz.UI.OpponentInformation)translator.FastGetCSObj(L, 1);
                {
                    H0434_tagAreaPlayerAppearEx _info = (H0434_tagAreaPlayerAppearEx)translator.GetObject(L, 2, typeof(H0434_tagAreaPlayerAppearEx));
                    gen_to_be_invoked.GetOpponentInformation0434( _info );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_PlayerID(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.OpponentInformation gen_to_be_invoked = (Snxxz.UI.OpponentInformation)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.PlayerID);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_ExAttr4(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.OpponentInformation gen_to_be_invoked = (Snxxz.UI.OpponentInformation)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.ExAttr4);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_ShieldUpdate(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                int gen_param_count = LuaAPI.lua_gettop(L);
            Snxxz.UI.OpponentInformation gen_to_be_invoked = (Snxxz.UI.OpponentInformation)translator.FastGetCSObj(L, 1);
                System.Action<int, int> gen_delegate = translator.GetDelegate<System.Action<int, int>>(L, 3);
                if (gen_delegate == null) {
                    return LuaAPI.luaL_error(L, "#3 need System.Action<int, int>!");
                }
                if (gen_param_count == 3)
                {
                    if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
                        gen_to_be_invoked.ShieldUpdate += gen_delegate;
                        return 0;
                    }
                    if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
                        gen_to_be_invoked.ShieldUpdate -= 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.OpponentInformation.ShieldUpdate!");
            return 0;
        }
    }
}
Lua/Gen/SnxxzUIOpponentInformationWrap.cs.meta
New file
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: efa2a5a505c59b146976fcd2832b848c
timeCreated: 1546147121
licenseType: Pro
MonoImporter:
  serializedVersion: 2
  defaultReferences: []
  executionOrder: 0
  icon: {instanceID: 0}
  userData:
  assetBundleName:
  assetBundleVariant:
Lua/Gen/SnxxzUIPackModelInterfaceWrap.cs
@@ -532,8 +532,9 @@
                    string _guid = LuaAPI.lua_tostring(L, 2);
                    int _itemID = LuaAPI.xlua_tointeger(L, 3);
                    int _getTime = LuaAPI.xlua_tointeger(L, 4);
                    int _serverSurplusTime = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.SetItemEffectCDTime( _guid, _itemID, _getTime );
                    gen_to_be_invoked.SetItemEffectCDTime( _guid, _itemID, _getTime, _serverSurplusTime );
                    
                    
                    
Lua/Gen/SnxxzUIPackModelInterfaceWrap.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 616e49c88c2f66f49b13217febba0b98
timeCreated: 1545203730
timeCreated: 1546147185
licenseType: Pro
MonoImporter:
  serializedVersion: 2
Lua/Gen/XLuaGenAutoRegister.cs
@@ -308,6 +308,9 @@
            translator.DelayWrapLoader(typeof(Item_Class), Item_ClassWrap.__Register);
        
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.OpponentInformation), SnxxzUIOpponentInformationWrap.__Register);
            translator.DelayWrapLoader(typeof(Snxxz.UI.DailyQuestActionTimer), SnxxzUIDailyQuestActionTimerWrap.__Register);
        
        
@@ -328,13 +331,13 @@
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.DogzDungeonModel), SnxxzUIDogzDungeonModelWrap.__Register);
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.DungeonAssistModel), SnxxzUIDungeonAssistModelWrap.__Register);
        }
        
        static void wrapInit2(LuaEnv luaenv, ObjectTranslator translator)
        {
            translator.DelayWrapLoader(typeof(Snxxz.UI.DungeonAssistModel), SnxxzUIDungeonAssistModelWrap.__Register);
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.Dungeon), SnxxzUIDungeonWrap.__Register);
        
@@ -465,6 +468,9 @@
            translator.DelayWrapLoader(typeof(Snxxz.UI.BatchUseModel), SnxxzUIBatchUseModelWrap.__Register);
        
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.KingTreasureShowModel), SnxxzUIKingTreasureShowModelWrap.__Register);
            translator.DelayWrapLoader(typeof(KnapSackEventMgr), KnapSackEventMgrWrap.__Register);
        
        
@@ -482,16 +488,16 @@
        
            translator.DelayWrapLoader(typeof(CoinTaskTipModel), CoinTaskTipModelWrap.__Register);
        
        }
        static void wrapInit3(LuaEnv luaenv, ObjectTranslator translator)
        {
        
            translator.DelayWrapLoader(typeof(FeatureNoticeModel), FeatureNoticeModelWrap.__Register);
        
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.MainRedDot), SnxxzUIMainRedDotWrap.__Register);
        
        }
        static void wrapInit3(LuaEnv luaenv, ObjectTranslator translator)
        {
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.OffLineOnHookModel), SnxxzUIOffLineOnHookModelWrap.__Register);
        
@@ -639,16 +645,16 @@
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.BuySuccessModel), SnxxzUIBuySuccessModelWrap.__Register);
        
        }
        static void wrapInit4(LuaEnv luaenv, ObjectTranslator translator)
        {
        
            translator.DelayWrapLoader(typeof(StoreModel), StoreModelWrap.__Register);
        
        
            translator.DelayWrapLoader(typeof(EquipReinforceModel), EquipReinforceModelWrap.__Register);
        
        }
        static void wrapInit4(LuaEnv luaenv, ObjectTranslator translator)
        {
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.PlayerSuitModel), SnxxzUIPlayerSuitModelWrap.__Register);
        
@@ -796,16 +802,16 @@
        
            translator.DelayWrapLoader(typeof(TimeDownMgr), TimeDownMgrWrap.__Register);
        
        }
        static void wrapInit5(LuaEnv luaenv, ObjectTranslator translator)
        {
        
            translator.DelayWrapLoader(typeof(Snxxz.UI.UI3DModelExhibition), SnxxzUIUI3DModelExhibitionWrap.__Register);
        
        
            translator.DelayWrapLoader(typeof(ButtonEx), ButtonExWrap.__Register);
        
        }
        static void wrapInit5(LuaEnv luaenv, ObjectTranslator translator)
        {
        
            translator.DelayWrapLoader(typeof(EffectMgr), EffectMgrWrap.__Register);
        
Lua/Gen/XLuaGenAutoRegister.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 11479d6613f53454b9f092ed34c058f8
timeCreated: 1545808556
timeCreated: 1546147185
licenseType: Pro
MonoImporter:
  serializedVersion: 2
Lua/Gen/link.xml
@@ -76,6 +76,7 @@
        <type fullname="SelectEquipModel" preserve="all"/>
        <type fullname="Snxxz.UI.CrossServerOneVsOneModel" preserve="all"/>
        <type fullname="Item_Class" preserve="all"/>
        <type fullname="Snxxz.UI.OpponentInformation" preserve="all"/>
        <type fullname="Snxxz.UI.DailyQuestActionTimer" preserve="all"/>
        <type fullname="Snxxz.UI.DailyQuestModel" preserve="all"/>
        <type fullname="Snxxz.UI.ResourcesBackModel" preserve="all"/>
@@ -127,6 +128,7 @@
        <type fullname="Snxxz.UI.PlayerPackModel" preserve="all"/>
        <type fullname="Snxxz.UI.TreasureEffectModel" preserve="all"/>
        <type fullname="Snxxz.UI.BatchUseModel" preserve="all"/>
        <type fullname="Snxxz.UI.KingTreasureShowModel" preserve="all"/>
        <type fullname="KnapSackEventMgr" preserve="all"/>
        <type fullname="Snxxz.UI.LoginModel" preserve="all"/>
        <type fullname="ServerListCenter" preserve="all"/>
System/KnapSack/BetterItemGetBehaviour.cs
@@ -79,7 +79,7 @@
                    var coolData = KnapsackTimeCDMgr.Instance.GetItemCoolById(model.currentEquipGuid);
                    if (model.CheckIsAutoEquip(betterEquip) && coolData == null)
                    {
                        KnapsackTimeCDMgr.Instance.Register(betterEquip.itemInfo.ItemGUID, betterEquip.itemId, model.autoEquipCoolTime);
                        KnapsackTimeCDMgr.Instance.Register(betterEquip.itemInfo.ItemGUID, betterEquip.itemId, model.autoEquipCoolTime,0);
                    }
                }
            }
System/KnapSack/KnapsackTimeCDMgr.cs
@@ -7,7 +7,7 @@
namespace Snxxz.UI
{
    [XLua.LuaCallCSharp]
public class KnapsackTimeCDMgr : SingletonMonobehaviour<KnapsackTimeCDMgr>
    public class KnapsackTimeCDMgr : SingletonMonobehaviour<KnapsackTimeCDMgr>
    {
        private List<ItemCDCool> itemCDList = new List<ItemCDCool>();
@@ -15,7 +15,7 @@
        public event Action<string> RefresCoolTimeAct;
        public event Action<string> RefreshItemOverdueTimeAct;
        public event Action<string> RefreshItemOverdueAct;
        public event Action<int,int> RefreshNormalCDAct;
        public event Action<int, int> RefreshNormalCDAct;
        int secondBuf = -1;
        int minuteBuf = -1;
        private void LateUpdate()
@@ -23,7 +23,7 @@
            CheckItemCoolTime(TimeRefreshType.Frame);
            var minute = DateTime.Now.Minute;
            var second = DateTime.Now.Second;
            if(second != secondBuf)
            if (second != secondBuf)
            {
                CheckNormalCoolTime(TimeRefreshType.Second);
                secondBuf = second;
@@ -50,7 +50,7 @@
                        }
                        break;
                    case TimeRefreshType.Minute:
                        if(RefreshItemOverdueTimeAct != null)
                        if (RefreshItemOverdueTimeAct != null)
                        {
                            RefreshItemOverdueTimeAct(itemCDList[i].guid);
                        }
@@ -80,9 +80,9 @@
                    case TimeRefreshType.Frame:
                        break;
                    case TimeRefreshType.Second:
                       if(RefreshNormalCDAct != null)
                        if (RefreshNormalCDAct != null)
                        {
                            RefreshNormalCDAct(normalCDList[i].code,(int)remianCD);
                            RefreshNormalCDAct(normalCDList[i].code, (int)remianCD);
                        }
                        break;
                    case TimeRefreshType.Minute:
@@ -97,21 +97,21 @@
        }
        public void Register(string guid,int itemId,double cdTime)
        public void Register(string guid, int itemId,  double cdTime,int serverSurplusTime)
        {
            int index;
            if (ContainsItemCD(guid,out index))
            if (ContainsItemCD(guid, out index))
            {
                itemCDList[index].SetTime(cdTime);
                itemCDList[index].SetTime(serverSurplusTime>0? serverSurplusTime: cdTime);
            }
            else
            {
                ItemCDCool cool = new ItemCDCool(guid,itemId,cdTime);
                ItemCDCool cool = new ItemCDCool(guid, itemId, serverSurplusTime > 0 ? serverSurplusTime : cdTime);
                itemCDList.Add(cool);
            }
        }
        public void Register(int code,double cdTime)
        public void Register(int code, double cdTime)
        {
            int index;
            if (ContainsNormalCD(code, out index))
@@ -120,7 +120,7 @@
            }
            else
            {
                NormalCDCool cool = new NormalCDCool(code,cdTime);
                NormalCDCool cool = new NormalCDCool(code, cdTime);
                normalCDList.Add(cool);
            }
        }
@@ -164,14 +164,14 @@
        }
        List<ItemCDCool> typeCoollist = new List<ItemCDCool>();
        public List<ItemCDCool> GetItemCoolByCDType(int type,out bool isCool)
        public List<ItemCDCool> GetItemCoolByCDType(int type, out bool isCool)
        {
           typeCoollist.Clear();
           isCool = false;
           for (int i = 0; i < itemCDList.Count; i++)
            typeCoollist.Clear();
            isCool = false;
            for (int i = 0; i < itemCDList.Count; i++)
            {
                ItemConfig itemConfig = Config.Instance.Get<ItemConfig>(itemCDList[i].itemId);
                if(itemConfig != null
                if (itemConfig != null
                    && itemConfig.CDType == type
                    && itemCDList[i].GetRemainTime() > 0)
                {
@@ -196,7 +196,7 @@
            return false;
        }
        private bool ContainsNormalCD(int code,out int index)
        private bool ContainsNormalCD(int code, out int index)
        {
            index = 0;
            for (int i = 0; i < normalCDList.Count; i++)
@@ -224,7 +224,8 @@
        public int itemId;
        public double totalTime;
        public DateTime startTime { get; private set; }
        public ItemCDCool(string guid,int itemId,double totalTime)
        public ItemCDCool(string guid, int itemId, double totalTime)
        {
            this.guid = guid;
            this.itemId = itemId;
@@ -241,7 +242,7 @@
        public double GetRemainTime()
        {
            double remainTime = totalTime - (DateTime.Now - startTime).TotalSeconds;
            if(remainTime <= 0)
            if (remainTime <= 0)
            {
                remainTime = 0;
            }
@@ -254,7 +255,7 @@
        public int code;
        public double totalTime;
        public DateTime startTime { get; private set; }
        public NormalCDCool(int code,double totalTime)
        public NormalCDCool(int code, double totalTime)
        {
            this.code = code;
            this.totalTime = totalTime;
System/KnapSack/Logic/ItemModel.cs
@@ -55,6 +55,12 @@
            }
            useDataDict = ConfigParse.Analysis(info.UserData);
            var serverSurplusTime = 0;
            if (useDataDict != null && useDataDict.ContainsKey(48) && useDataDict[48].Count > 0)
            {
                serverSurplusTime = useDataDict[48][0];
            }
            this.equipScore = modelInterface.SetEquipScore(packType,itemInfo.ItemID,useDataDict);
            if(GetUseDataModel((int)ItemUseDataKey.Def_IudetItemCount) != null)
            {
@@ -73,7 +79,7 @@
                    case EquipReduceType.Def_EquipReduceType_ATK:
                        break;
                    case EquipReduceType.Def_EquipReduceType_Time:
                        modelInterface.SetItemEffectCDTime(info.ItemGUID, info.ItemID, itemEffectTime[0]);
                        modelInterface.SetItemEffectCDTime(info.ItemGUID, info.ItemID, itemEffectTime[0], serverSurplusTime);
                        break;
                    case EquipReduceType.Def_EquipReduceType_AttackValue:
                        break;
@@ -86,7 +92,7 @@
                    case EquipReduceType.Def_EquipReduceType_Horse:
                        break;
                    case EquipReduceType.Def_EquipReduceType_RTimeItem:
                        modelInterface.SetItemEffectCDTime(info.ItemGUID, info.ItemID, itemEffectTime[0]);
                        modelInterface.SetItemEffectCDTime(info.ItemGUID, info.ItemID, itemEffectTime[0], serverSurplusTime);
                        break;
                    case EquipReduceType.Def_EquipReduceType_Day:
                        break;
System/KnapSack/Logic/PackModelInterface.cs
@@ -1030,7 +1030,7 @@
        /// <summary>
        /// 物品使用时间限制
        /// </summary>
        public void SetItemEffectCDTime(string guid, int itemID, int getTime)
        public void SetItemEffectCDTime(string guid, int itemID, int getTime,int serverSurplusTime)
        {
            double time = GetTimeOffest(TimeUtility.GetTime((uint)getTime));
            if (time < 0)
@@ -1045,7 +1045,7 @@
                return;
            }
            double remainTime = itemConfig.ExpireTime - time;
            KnapsackTimeCDMgr.Instance.Register(guid,itemID,remainTime);
            KnapsackTimeCDMgr.Instance.Register(guid,itemID,remainTime, serverSurplusTime);
        }
        public double GetTimeOffest(DateTime getTime)
System/KnapSack/Logic/PlayerPackModels.cs
@@ -9,7 +9,7 @@
namespace Snxxz.UI
{
    [XLua.LuaCallCSharp]
    public class PlayerPackModel : Model,IBeforePlayerDataInitialize,IAfterPlayerDataInitialize,IPlayerLoginOk
    public class PlayerPackModel : Model, IBeforePlayerDataInitialize, IAfterPlayerDataInitialize, IPlayerLoginOk
    {
        public Dictionary<int, int> DrugToDungeonDict { get; private set; }   //key 丹药ID,value副本ID
@@ -24,7 +24,7 @@
        public int MaxDepotGridCnt { get; private set; }
        public int InitDepotGridCnt { get; private set; }
        BlastFurnaceModel FurnaceModel { get { return ModelCenter.Instance.GetModel<BlastFurnaceModel>(); } }
        public List<int> LocalSavePlaceArray { get; private set;}
        public List<int> LocalSavePlaceArray { get; private set; }
        public override void Init()
        {
            ParseConfig();
@@ -51,9 +51,9 @@
            makeDruglist = new List<AttrFruitConfig>();
            List<AttrFruitConfig> fruitlist = Config.Instance.GetAllValues<AttrFruitConfig>();
            for(int i = 0; i < fruitlist.Count; i++)
            for (int i = 0; i < fruitlist.Count; i++)
            {
                if(fruitlist[i].FuncID == 2)
                if (fruitlist[i].FuncID == 2)
                {
                    makeDruglist.Add(fruitlist[i]);
                }
@@ -64,14 +64,14 @@
            decomposeAttrDict.Clear();
            List<EquipDeComposeConfig> decomlist = Config.Instance.GetAllValues<EquipDeComposeConfig>();
            for(int i = 0; i < decomlist.Count;i++)
            for (int i = 0; i < decomlist.Count; i++)
            {
                JsonData attrData = JsonMapper.ToObject(decomlist[i].Attr);
                Dictionary<int, int> attrDict = new Dictionary<int, int>();
                decomposeAttrDict.Add(decomlist[i].LV,attrDict);
                decomposeAttrDict.Add(decomlist[i].LV, attrDict);
                foreach (var id in attrData.Keys)
                {
                    attrDict.Add(int.Parse(id),int.Parse(attrData[id].ToString()));
                    attrDict.Add(int.Parse(id), int.Parse(attrData[id].ToString()));
                }
            }
@@ -109,7 +109,7 @@
        public void OnAfterPlayerDataInitialize()
        {
        }
        public void OnPlayerLoginOk()
@@ -119,7 +119,7 @@
            EquipDecomRedCtrl();
            RoleEquipLocalSave = StringUtility.Contact("RoleEquipLocalSave", PlayerDatas.Instance.baseData.PlayerID);
            StrengthAttrShift_RecordKey = StringUtility.Contact(PlayerDatas.Instance.baseData.PlayerID, "StrengthAttrShift");
            if(LocalSave.GetIntArray(RoleEquipLocalSave) != null)
            if (LocalSave.GetIntArray(RoleEquipLocalSave) != null)
            {
                LocalSavePlaceArray = LocalSave.GetIntArray(RoleEquipLocalSave).ToList();
            }
@@ -127,27 +127,24 @@
            {
                LocalSavePlaceArray = null;
            }
            PlayerDatas.Instance.PlayerDataRefreshInfoEvent += UpdatePlayerLv;
            UpdatePlayerLv(PlayerDataRefresh.LV);
        }
        public override void UnInit()
        {
        }
        PackModelInterface _modelInterface;
        PackModelInterface modelInterface
        {
        PackModelInterface modelInterface {
            get { return _modelInterface ?? (_modelInterface = ModelCenter.Instance.GetModel<PackModelInterface>()); }
        }
        ItemTipsModel _itemTipsModel;
        ItemTipsModel itemTipsModel
        {
            get
            {
        ItemTipsModel itemTipsModel {
            get {
                return _itemTipsModel ?? (_itemTipsModel = ModelCenter.Instance.GetModel<ItemTipsModel>());
            }
        }
@@ -162,7 +159,7 @@
        public event Action<int> RefreshItemDayUseCntAct;  //刷新物品每日使用数量
        public event Action<int> RefreshItemSumUseCntAct;  //刷新物品总使用数量
        public bool isPlayBetterEquipEffect { get;set;}  //整理背包时是否播放特效
        public bool isPlayBetterEquipEffect { get; set; }  //整理背包时是否播放特效
        #region 接收服务端数据
        public bool showDropItem { get; private set; }
@@ -178,8 +175,8 @@
                SinglePackModel packModel = new SinglePackModel(type);
                playerPackDict.Add(type, packModel);
            }
            if(isPlayBetterEquipEffect)
            if (isPlayBetterEquipEffect)
            {
                modelInterface.itemModelDict.Clear();
            }
@@ -248,11 +245,11 @@
            itemInfo.ItemGUID = item.ItemGUID;
            playerPackDict[type].SetPackModel(itemInfo);
            DebugEx.Log("Add:" + item.ItemGUID);
            if(RefreshItemCountAct != null)
            if (RefreshItemCountAct != null)
            {
                RefreshItemCountAct(type, itemInfo.ItemPlace, itemInfo.ItemID);
            }
            if (ItemCntAddAct != null)
            {
                ItemCntAddAct(type, itemInfo.ItemPlace, itemInfo.ItemID);
@@ -276,7 +273,7 @@
            playerPackDict[type].SetOpenGridCount(useCount.CanUseCount);
            if(GridRefreshEvent != null)
            if (GridRefreshEvent != null)
            {
                GridRefreshEvent(type);
            }
@@ -290,8 +287,8 @@
            isPlayBetterEquipEffect = false;
            PackType type = (PackType)refresh.PackType;
            SinglePackModel singlePack = null;
            playerPackDict.TryGetValue(type,out singlePack);
            if(singlePack != null)
            playerPackDict.TryGetValue(type, out singlePack);
            if (singlePack != null)
            {
                ItemModel itemModel = singlePack.GetItemModelByIndex(refresh.ItemIndex);
                if (itemModel != null)
@@ -303,14 +300,14 @@
                    }
                    itemModel.RefreshItemCount(refresh.ItemCount);
                    if(isAddItemCount)
                    if (isAddItemCount)
                    {
                        if (ItemCntAddAct != null)
                        {
                            ItemCntAddAct(type,itemModel.itemInfo.ItemPlace, itemModel.itemInfo.ItemID);
                            ItemCntAddAct(type, itemModel.itemInfo.ItemPlace, itemModel.itemInfo.ItemID);
                        }
                        modelInterface.GetPreciousItem(itemModel);
                         modelInterface.RefreshPickItem(type,itemModel.itemInfo.ItemGUID);
                        modelInterface.RefreshPickItem(type, itemModel.itemInfo.ItemGUID);
                    }
                    else
                    {
@@ -327,7 +324,7 @@
                }
            }
        }
        public void ClearPackModel(H0711_tagClearItemPack clearPack)
@@ -335,7 +332,7 @@
            PackType type = (PackType)clearPack.PackIndex;
            SinglePackModel singlePack = null;
            playerPackDict.TryGetValue(type, out singlePack);
            if(singlePack != null)
            if (singlePack != null)
            {
                singlePack.ClearPackModel();
            }
@@ -357,7 +354,7 @@
            isPlayBetterEquipEffect = false;
            SetLookIndex(null);
            PackType type = (PackType)clearItem.PackType;
            SinglePackModel singlePack = null;
            playerPackDict.TryGetValue(type, out singlePack);
            string guid = "";
@@ -366,16 +363,16 @@
                ItemModel itemModel = singlePack.GetItemModelByIndex(clearItem.ItemIndex);
                guid = itemModel.itemInfo.ItemGUID;
                int itemId = itemModel.itemInfo.ItemID;
                DeleteItemDictByGUID(type,itemModel.itemInfo.ItemGUID);
                DeleteItemDictByGUID(type, itemModel.itemInfo.ItemGUID);
                singlePack.ClearItemModelByIndex(clearItem.ItemIndex);
                if (RefreshItemCountAct != null)
                {
                    RefreshItemCountAct(type, clearItem.ItemIndex,itemId);
                    RefreshItemCountAct(type, clearItem.ItemIndex, itemId);
                }
                if (ItemCntReduceAct != null)
                {
                    ItemCntReduceAct(type,clearItem.ItemIndex, itemId);
                    ItemCntReduceAct(type, clearItem.ItemIndex, itemId);
                }
            }
            if (type == PackType.rptEquip)
@@ -389,7 +386,7 @@
            {
                KnapsackTimeCDMgr.Instance.UnRegister(guid);
            }
        }
        public void PackResetOk(H0316_tagPackResetOK packreset)
@@ -405,7 +402,7 @@
                return;
            ItemConfig itemConfig = Config.Instance.Get<ItemConfig>((int)success.ItemID);
            MakeUseItemSuccess(success.ItemIndex,(int)success.ItemID);
            MakeUseItemSuccess(success.ItemIndex, (int)success.ItemID);
            switch (success.ItemID)
            {
@@ -419,7 +416,7 @@
            if (UseItemSuccessAct != null)
            {
                UseItemSuccessAct(success.ItemIndex,(int)success.ItemID);
                UseItemSuccessAct(success.ItemIndex, (int)success.ItemID);
            }
        }
@@ -428,7 +425,7 @@
            ItemConfig itemConfig = Config.Instance.Get<ItemConfig>(id);
            if (itemConfig.CDType != 0)
            {
                float cdTime = (float)Math.Round((double)itemConfig.CDTime / 1000, 1);
                float configCdTime = (float)Math.Round((double)itemConfig.CDTime / 1000, 1);
                List<ItemModel> modellist = null;
                GetSinglePackModel(PackType.rptItem).GetItemCountByType((int)ItemType.Buff, out modellist);
                for (int i = 0; i < modellist.Count; i++)
@@ -438,7 +435,13 @@
                        || modellist[i].itemId == 903
                        || modellist[i].itemId == 904)
                    {
                        KnapsackTimeCDMgr.Instance.Register(modellist[i].itemInfo.ItemGUID, modellist[i].itemInfo.ItemID, cdTime);
                        var realCdTime = 0;
                        if (modellist[i].useDataDict != null && modellist[i].useDataDict.ContainsKey(48) && modellist[i].useDataDict[48].Count > 0)
                        {
                            realCdTime = modellist[i].useDataDict[48][0];
                        }
                        KnapsackTimeCDMgr.Instance.Register(modellist[i].itemInfo.ItemGUID, modellist[i].itemInfo.ItemID, configCdTime, realCdTime);
                        break;
                    }
                }
@@ -448,9 +451,9 @@
        public void SetItemGUIDDict(ItemModel itemModel)
        {
            if(!itemGUIDDict.ContainsKey(itemModel.itemInfo.ItemGUID))
            if (!itemGUIDDict.ContainsKey(itemModel.itemInfo.ItemGUID))
            {
                itemGUIDDict.Add(itemModel.itemInfo.ItemGUID,itemModel);
                itemGUIDDict.Add(itemModel.itemInfo.ItemGUID, itemModel);
                GetItemEventCtrl(itemModel);
            }
            else
@@ -464,12 +467,12 @@
            }
        }
        public void DeleteItemDictByGUID(PackType type,string guid)
        public void DeleteItemDictByGUID(PackType type, string guid)
        {
            if(itemGUIDDict.ContainsKey(guid))
            if (itemGUIDDict.ContainsKey(guid))
            {
                if(itemGUIDDict[guid].packType == type)
                if (itemGUIDDict[guid].packType == type)
                {
                    itemGUIDDict.Remove(guid);
                }
@@ -495,11 +498,11 @@
                    itemDayUseCntDict[itemId] = cnt;
                }
                if(RefreshItemDayUseCntAct != null)
                if (RefreshItemDayUseCntAct != null)
                {
                    RefreshItemDayUseCntAct(itemId);
                }
            }
        }
@@ -532,17 +535,17 @@
        private Dictionary<int, int> equipAttrActiveDict = new Dictionary<int, int>();
        public void SetPlayerEquipAttrActiveInfo(HA317_tagMCAllEquipAttrActiveInfo info)
        {
            for(int i = 0;i < info.Count; i++)
            for (int i = 0; i < info.Count; i++)
            {
                int type = info.ActiveInfo[i].Type;
                int cnt = (int)info.ActiveInfo[i].Cnt;
                if(type == 1)
                if (type == 1)
                {
                    cnt = RoleEquipStarsConfig.GetActiveStars(cnt);
                }
                if(!equipAttrActiveDict.ContainsKey(type))
                if (!equipAttrActiveDict.ContainsKey(type))
                {
                    equipAttrActiveDict.Add(type,cnt);
                    equipAttrActiveDict.Add(type, cnt);
                }
                else
                {
@@ -550,7 +553,7 @@
                }
            }
            if(RefreshActiveAttrAct != null)
            if (RefreshActiveAttrAct != null)
            {
                RefreshActiveAttrAct();
            }
@@ -558,7 +561,7 @@
            SetPlayerAttrActiveRedPoint();
        }
        public void SendActiveAttrQuest(int type,int cnt)
        public void SendActiveAttrQuest(int type, int cnt)
        {
            CA503_tagCMActiveAllEquipAttr equipAttr = new CA503_tagCMActiveAllEquipAttr();
            equipAttr.Type = (byte)type;
@@ -569,7 +572,7 @@
        public int GetActiveCntByType(int type)
        {
            int cnt = 0;
            equipAttrActiveDict.TryGetValue(type,out cnt);
            equipAttrActiveDict.TryGetValue(type, out cnt);
            return cnt;
        }
@@ -597,9 +600,9 @@
            }
            RoleEquipStarsConfig activeStarsConfig = RoleEquipStarsConfig.GetEquipStarsModel(realActiveStars);
            if(activeStarsConfig != null)
            if (activeStarsConfig != null)
            {
                for(int i = 0; i < activeStarsConfig.attType.Length; i++)
                for (int i = 0; i < activeStarsConfig.attType.Length; i++)
                {
                    activeIdlist.Add(activeStarsConfig.attType[i]);
                }
@@ -611,7 +614,7 @@
                RoleEquipStarsConfig starsConfig = starsConfigs[i];
                if (realActiveStars < starsConfig.countNeed)
                {
                    for(int j = 0; j < starsConfig.attType.Length; j++)
                    for (int j = 0; j < starsConfig.attType.Length; j++)
                    {
                        int attrId = starsConfig.attType[j];
                        if (!activeIdlist.Contains(attrId))
@@ -621,12 +624,12 @@
                        }
                    }
                }
                if(isAddId)
                if (isAddId)
                {
                    starsCount = starsConfig.countNeed;
                    break;
                }
            }
            return addIdlist;
        }
@@ -638,7 +641,7 @@
        public int fairyRedPointLvlimt { get; private set; }
        public int wingsRedpointLvlimt { get; private set; }
        public int fairyGetPathId { get; private set; }
        public Dictionary<int, int> wingsGetPathIdDict { get; private set;}
        public Dictionary<int, int> wingsGetPathIdDict { get; private set; }
        public Dictionary<int, List<int>> dungeonUseDict { get; private set; }
        public void ParseConfig()
        {
@@ -653,11 +656,11 @@
            foreach (var dungeonId in copyWinData.Keys)
            {
                List<int> idlist = new List<int>();
                dungeonUseDict.Add(int.Parse(dungeonId),idlist);
                if(copyWinData[dungeonId].IsArray)
                dungeonUseDict.Add(int.Parse(dungeonId), idlist);
                if (copyWinData[dungeonId].IsArray)
                {
                    JsonData useData = copyWinData[dungeonId];
                    for(int i = 0; i < useData.Count; i++)
                    for (int i = 0; i < useData.Count; i++)
                    {
                        idlist.Add(int.Parse(useData[i].ToString()));
                    }
@@ -666,7 +669,7 @@
        }
        public int GetRoleEquipPathId(int equipPlace)
        {
        {
            int playerJob = PlayerDatas.Instance.baseData.Job;
            switch ((RoleEquipType)equipPlace)
            {
@@ -674,7 +677,7 @@
                case RoleEquipType.retFairyCan2:
                    return fairyGetPathId;
                case RoleEquipType.retWing:
                    if(wingsGetPathIdDict.ContainsKey(playerJob))
                    if (wingsGetPathIdDict.ContainsKey(playerJob))
                    {
                        return wingsGetPathIdDict[playerJob];
                    }
@@ -686,7 +689,7 @@
        private void UpdatePlayerLv(PlayerDataRefresh type)
        {
            if (type != PlayerDataRefresh.LV) return;
            for(int i = 1; i < 13; i++)
            for (int i = 1; i < 13; i++)
            {
                CheckRoleEquipByPlace((RoleEquipType)i);
            }
@@ -699,7 +702,7 @@
            {
                case RoleEquipType.retFairyCan:
                case RoleEquipType.retFairyCan2:
                    if(PlayerDatas.Instance.baseData.LV >= fairyRedPointLvlimt)
                    if (PlayerDatas.Instance.baseData.LV >= fairyRedPointLvlimt)
                    {
                        return true;
                    }
@@ -716,7 +719,7 @@
        public void CheckRoleEquipByPlace(RoleEquipType equipType)
        {
            ItemModel itemModel = GetItemModelByIndex(PackType.rptEquip,(int)equipType);
            ItemModel itemModel = GetItemModelByIndex(PackType.rptEquip, (int)equipType);
            switch (equipType)
            {
                case RoleEquipType.retFairyCan:
@@ -732,17 +735,17 @@
                        SetRoleEquipLocalSave((int)equipType);
                    }
                    break;
            }
        }
        public void SetRoleEquipLocalSave(int equipPlace,bool isRedState = false)
        public void SetRoleEquipLocalSave(int equipPlace, bool isRedState = false)
        {
            if (isRedState && roleEquipRedDict[equipPlace].state == RedPointState.None) return;
            if(LocalSavePlaceArray != null)
            if (LocalSavePlaceArray != null)
            {
                if(!LocalSavePlaceArray.Contains(equipPlace))
                if (!LocalSavePlaceArray.Contains(equipPlace))
                {
                    LocalSavePlaceArray.Add(equipPlace);
                    LocalSave.SetIntArray(RoleEquipLocalSave, LocalSavePlaceArray.ToArray());
@@ -771,7 +774,7 @@
                            List<int> itemEffectTime = itemModel.GetUseDataModel((int)ItemUseDataKey.Def_IudetCreateTime);
                            if (itemEffectTime != null && itemEffectTime[0] != 0)
                            {
                                if (cool == null || cool.GetRemainTime()<= 0)
                                if (cool == null || cool.GetRemainTime() <= 0)
                                {
                                    isOverdue = true;
                                }
@@ -791,7 +794,7 @@
                {
                    modelInterface.GetPreciousItem(itemModel);
                    modelInterface.OnGetEquip(itemModel);
                    modelInterface.RefreshPickItem(itemModel.packType,itemModel.itemInfo.ItemGUID);
                    modelInterface.RefreshPickItem(itemModel.packType, itemModel.itemInfo.ItemGUID);
                }
            }
@@ -816,7 +819,7 @@
            return itemModel;
        }
        public ItemModel GetItemModelByIndex(PackType type,int index)
        public ItemModel GetItemModelByIndex(PackType type, int index)
        {
            ItemModel itemModel = null;
            if (playerPackDict.ContainsKey(type))
@@ -830,9 +833,9 @@
        {
            string guid = string.Empty;
            foreach(var key in itemGUIDDict.Keys)
            foreach (var key in itemGUIDDict.Keys)
            {
                if(itemGUIDDict[key].itemId == itemId)
                if (itemGUIDDict[key].itemId == itemId)
                {
                    guid = key;
                    return guid;
@@ -856,7 +859,7 @@
            {
                count = singlePack.GetItemCountByID(id);
            }
            return count;
        }
@@ -865,14 +868,14 @@
            SinglePackModel singlePack = GetSinglePackModel(PackType.rptItem);
            if (singlePack == null) return false;
            List<ItemModel> modellist = null;
            int haveCnt = singlePack.GetItemCountByID(itemId,out modellist);
            int haveCnt = singlePack.GetItemCountByID(itemId, out modellist);
            ItemConfig config = Config.Instance.Get<ItemConfig>(itemId);
            int sumPutCnt = config.PackCount * modellist.Count;
            if(sumPutCnt > haveCnt)
            if (sumPutCnt > haveCnt)
            {
                return true;
            }
            else if(GetReaminGridCount(PackType.rptItem) > 0)
            else if (GetReaminGridCount(PackType.rptItem) > 0)
            {
                return true;
            }
@@ -934,15 +937,15 @@
            {
                int redKey = 102011003 + i;
                Redpoint redpoint = new Redpoint(MainRedDot.RedPoint_BagFuncKey, redKey);
                roleEquipRedDict.Add(i,redpoint);
                roleEquipRedDict.Add(i, redpoint);
            }
        }
        public void UpdateRoleEquipRed()
        {
            foreach(var key in roleEquipRedDict.Keys)
            foreach (var key in roleEquipRedDict.Keys)
            {
                ItemModel itemModel = GetItemModelByIndex(PackType.rptEquip,key);
                ItemModel itemModel = GetItemModelByIndex(PackType.rptEquip, key);
                switch ((RoleEquipType)key)
                {
                    case RoleEquipType.retFairyCan:
@@ -987,11 +990,11 @@
        private bool TryGetRoleEquipLocalSave(int equipPlace)
        {
            if(LocalSavePlaceArray != null)
            if (LocalSavePlaceArray != null)
            {
                for(int i = 0; i < LocalSavePlaceArray.Count; i++)
                for (int i = 0; i < LocalSavePlaceArray.Count; i++)
                {
                    if(equipPlace == 9 || equipPlace == 10)
                    if (equipPlace == 9 || equipPlace == 10)
                    {
                        if (LocalSavePlaceArray[i] == 9 || LocalSavePlaceArray[i] == 10)
                        {
@@ -1005,7 +1008,7 @@
                            return true;
                        }
                    }
                }
            }
            return false;
@@ -1047,13 +1050,13 @@
        //public const int PLAYERSUMSTR_REDKEY = 102011001;
        public const int PLAYERSUMSTAR_REDKEY = 102011002;
       // public Redpoint redpointSTR = new Redpoint(MainRedDot.RedPoint_BagFuncKey, PLAYERSUMSTR_REDKEY);
        // public Redpoint redpointSTR = new Redpoint(MainRedDot.RedPoint_BagFuncKey, PLAYERSUMSTR_REDKEY);
        public Redpoint redpointSTAR = new Redpoint(MainRedDot.RedPoint_BagFuncKey, PLAYERSUMSTAR_REDKEY);
        public event Action<int, bool> RefreshAttrActiveAct;
        public void SetPlayerAttrActiveRedPoint()
        {
            if(IsActiveStarAttr())
            if (IsActiveStarAttr())
            {
                if (redpointSTAR.state != RedPointState.Simple)
@@ -1094,7 +1097,7 @@
            int nextActiveStars = 0;
            for (int i = 0; i < starslist.Count; i++)
            {
                if(cnt == 0)
                if (cnt == 0)
                {
                    nextActiveStars = starslist[0];
                    break;
@@ -1112,7 +1115,7 @@
                }
            }
            if(nextActiveStars != 0 && playerSumStars >= nextActiveStars)
            if (nextActiveStars != 0 && playerSumStars >= nextActiveStars)
            {
                return true;
            }
@@ -1138,7 +1141,7 @@
            int nextActiveSTR = 0;
            for (int i = 0; i < strenlist.Count; i++)
            {
                if(cnt == 0)
                if (cnt == 0)
                {
                    nextActiveSTR = int.Parse(strenlist[0]);
                    break;
@@ -1170,7 +1173,7 @@
        {
            if (!FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.EquipDecompose)) return;
            if(GetCanDevourModellist() != null && GetCanDevourModellist().Count >= minDevourEquipNum)
            if (GetCanDevourModellist() != null && GetCanDevourModellist().Count >= minDevourEquipNum)
            {
                redpointEquipDecom.state = RedPointState.Simple;
            }
@@ -1212,7 +1215,7 @@
        public event Action RefreshBagEvent;
        public void RefreshBagInfo()
        {
            if(RefreshBagEvent != null)
            if (RefreshBagEvent != null)
            {
                RefreshBagEvent();
            }
@@ -1222,7 +1225,7 @@
        public void SetJumpToOneKeySell(Transform parent)
        {
            var goEffect = AchievementGuideEffectPool.Require(1);
            goEffect.transform.SetParentEx(parent,Vector3.zero,Quaternion.identity,Vector3.one);
            goEffect.transform.SetParentEx(parent, Vector3.zero, Quaternion.identity, Vector3.one);
            AchievementGoto.guideAchievementId = 0;
        }
@@ -1268,7 +1271,7 @@
            {
                if (!itemUseTypeDict.ContainsKey(skillConfig.SkillTypeID))
                {
                    itemUseTypeDict.Add(skillConfig.SkillTypeID,id);
                    itemUseTypeDict.Add(skillConfig.SkillTypeID, id);
                }
                else
                {
@@ -1300,7 +1303,7 @@
            if (!dungeonUseDict.ContainsKey(mapId)) return;
            List<int> useIdlist = dungeonUseDict[mapId];
            for(int i = 0; i < useIdlist.Count; i++)
            for (int i = 0; i < useIdlist.Count; i++)
            {
                int id = useIdlist[i];
                AddItemUseTypeDict(id);
@@ -1330,7 +1333,7 @@
        #endregion
        #region 判断物品是否达到使用上限
        public bool IsReachUseLimit(string guid,out ulong count)
        public bool IsReachUseLimit(string guid, out ulong count)
        {
            count = 0;
            ItemModel itemModel = GetItemModelByGUID(guid);
@@ -1362,7 +1365,7 @@
                }
            }
            if(count < (ulong)itemModel.itemInfo.ItemCount)
            if (count < (ulong)itemModel.itemInfo.ItemCount)
            {
                isReach = true;
            }
@@ -1381,25 +1384,25 @@
        public event Action RefreshEquipDecomNumAct;
        public int[] defaultUnSelectlist { get; private set; }
        public bool ContainPreciousItem(List<ItemModel> itemModels,out int betterEquipCnt,out int preciousCnt)
        public bool ContainPreciousItem(List<ItemModel> itemModels, out int betterEquipCnt, out int preciousCnt)
        {
            betterEquipCnt = 0;
            preciousCnt = 0;
            if (itemModels == null) return false;
            for(int i = 0; i < itemModels.Count; i++)
            for (int i = 0; i < itemModels.Count; i++)
            {
                if(defaultUnSelectlist.Contains(itemModels[i].itemId))
                if (defaultUnSelectlist.Contains(itemModels[i].itemId))
                {
                    preciousCnt += itemModels[i].itemInfo.ItemCount;
                }
                else if(modelInterface.IsFightUp(itemModels[i].itemId,itemModels[i].equipScore) == 1)
                else if (modelInterface.IsFightUp(itemModels[i].itemId, itemModels[i].equipScore) == 1)
                {
                    betterEquipCnt += itemModels[i].itemInfo.ItemCount;
                }
            }
            if(betterEquipCnt > 0 || preciousCnt > 0)
            if (betterEquipCnt > 0 || preciousCnt > 0)
            {
                return true;
            }
@@ -1413,7 +1416,7 @@
            if (itemModels == null) return false;
            for (int i = 0; i < itemModels.Count; i++)
            {
                if(itemModels[i].chinItemModel.StarLevel >= 2 && itemModels[i].chinItemModel.ItemColor >= (int)E_ItemColor.Orange)
                if (itemModels[i].chinItemModel.StarLevel >= 2 && itemModels[i].chinItemModel.ItemColor >= (int)E_ItemColor.Orange)
                {
                    twoStarEquipCnt += itemModels[i].itemInfo.ItemCount;
                }
@@ -1430,7 +1433,7 @@
            colorType = type;
            if (colorType == EquipColorType.None)
            {
                if(lvType != EquipLvType.None)
                if (lvType != EquipLvType.None)
                {
                    SetLvSelect(EquipLvType.None);
                }
@@ -1475,7 +1478,7 @@
            SendEquipDevourRecordQuest();
            EquipDecomRedCtrl();
        }
        public void SetStarSelect(EquipStarType type)
        {
            starType = type;
@@ -1489,13 +1492,13 @@
        public List<int> devourPlacelist { get; private set; }
        public int MaxDevourEquipNum { get; private set; }
        public int minDevourEquipNum { get; private set;}
        public int minDevourEquipNum { get; private set; }
        public void SetDevourEquipPlace()
        {
            devourPlacelist = new List<int>();
            FuncConfigConfig funcConfig = Config.Instance.Get<FuncConfigConfig>("PetAbsorbType");
            int[] placeArray = ConfigParse.GetMultipleStr<int>(funcConfig.Numerical1);
            for(int i = 0; i < placeArray.Length;i++ )
            for (int i = 0; i < placeArray.Length; i++)
            {
                devourPlacelist.Add(placeArray[i]);
            }
@@ -1514,7 +1517,7 @@
            orderDevourModellist.Clear();
            foreach (var model in singlePack.GetPackModelIndexDict().Values)
            {
                if(model.chinItemModel.Type == 29)
                if (model.chinItemModel.Type == 29)
                {
                    devourModellist.Add(model);
                }
@@ -1528,7 +1531,7 @@
                        }
                    }
                }
            }
            orderDevourModellist.AddRange(devourModellist);
            orderDevourModellist.Sort(CompareByColor);
@@ -1567,12 +1570,12 @@
                }
                return null;
            }
            foreach (var model in singlePack.GetPackModelIndexDict().Values)
            {
                if(model.chinItemModel.Type == 29)
                if (model.chinItemModel.Type == 29)
                {
                    if(!defaultUnSelectlist.Contains(model.itemId))
                    if (!defaultUnSelectlist.Contains(model.itemId))
                    {
                        canDevourModellist.Add(model);
                    }
@@ -1586,7 +1589,7 @@
                }
            }
            if(RefreshEquipDecomNumAct != null)
            if (RefreshEquipDecomNumAct != null)
            {
                RefreshEquipDecomNumAct();
            }
@@ -1599,7 +1602,7 @@
            {
                if (model.chinItemModel.ItemColor >= (int)E_ItemColor.Purple)
                {
                    PetEatEquipConfig eatEquipConfig = PetEatEquipConfig.GetEquipColorAndEquipClass(model.chinItemModel.ItemColor,model.chinItemModel.LV);
                    PetEatEquipConfig eatEquipConfig = PetEatEquipConfig.GetEquipColorAndEquipClass(model.chinItemModel.ItemColor, model.chinItemModel.LV);
                    if (eatEquipConfig == null) return false;
                    if (modelInterface.IsFightUp(model.itemId, model.equipScore) != 1)
@@ -1616,12 +1619,12 @@
            return false;
        }
        public bool IsMaxDecomLv(int decomLv,out int realLv)
        public bool IsMaxDecomLv(int decomLv, out int realLv)
        {
            realLv = decomLv;
            List<EquipDeComposeConfig> decomlist = Config.Instance.GetAllValues<EquipDeComposeConfig>();
            if(decomLv > decomlist[decomlist.Count-1].LV)
            if (decomLv > decomlist[decomlist.Count - 1].LV)
            {
                realLv = decomlist[decomlist.Count - 1].LV;
                return true;
@@ -1646,7 +1649,7 @@
        {
            if (model == null) return;
            if(CheckIsReachDevourCondi(model))
            if (CheckIsReachDevourCondi(model))
            {
                selectDevourlist.Add(model);
                if (RefreshEquipDecomNumAct != null)
@@ -1685,10 +1688,10 @@
            }
            return false;
        }
        public void RemoveSelectDevourModellist(ItemModel model)
        {
            if(selectDevourlist.Contains(model))
            if (selectDevourlist.Contains(model))
            {
                selectDevourlist.Remove(model);
            }
@@ -1698,9 +1701,9 @@
            }
        }
        public Dictionary<int,int> GetDecomAttrDictByLv(int decomLv)
        public Dictionary<int, int> GetDecomAttrDictByLv(int decomLv)
        {
            if(decomposeAttrDict.ContainsKey(decomLv))
            if (decomposeAttrDict.ContainsKey(decomLv))
            {
                return decomposeAttrDict[decomLv];
            }
@@ -1711,7 +1714,7 @@
        public bool IsReachMinDecomposeNum()
        {
            List<ItemModel> itemModels = GetCanDevourModellist();
            if(itemModels != null && itemModels.Count >= minDecomposeNum)
            if (itemModels != null && itemModels.Count >= minDecomposeNum)
            {
                return true;
            }
@@ -1733,7 +1736,7 @@
            {
                _petIndex[i] = (ushort)itemModels[i].itemInfo.ItemPlace;
                idlist[i] = (uint)itemModels[i].itemId;
                if (itemModels[i].chinItemModel.StarLevel >= 2
                if (itemModels[i].chinItemModel.StarLevel >= 2
                    || (itemModels[i].chinItemModel.EquipPlace == 0 && itemModels[i].chinItemModel.Type != 29))
                {
                    return;
@@ -1748,7 +1751,7 @@
        public void SendEquipDevourRecordQuest()
        {
            string record = StringUtility.Contact((int)colorType + 1,(int)lvType + 1,(int)starType + 1);
            string record = StringUtility.Contact((int)colorType + 1, (int)lvType + 1, (int)starType + 1);
            CA32D_tagCMDecomposeSeting decomSet = new CA32D_tagCMDecomposeSeting();
            decomSet.Seting = uint.Parse(record);
            GameNetSystem.Instance.SendInfo(decomSet);
@@ -1756,10 +1759,10 @@
        public int decomposeLv { get; private set; }
        public int decomposeExp { get; private set; }
        public int decomposeProgress { get; private set; }
        public int addDecomposeExp { get; private set;}
        public int addDecomposeExp { get; private set; }
        public int minDecomposeNum { get; private set; }
        public bool isAutoDecompose { get;set; }
        public int recordAutoDecomNum { get; private set;}
        public bool isAutoDecompose { get; set; }
        public int recordAutoDecomNum { get; private set; }
        public DecomposeGetMatInfo[] getItems { get; private set; }
        public event Action RefreshDecomAttrAct;
@@ -1767,21 +1770,21 @@
        {
            addDecomposeExp = 0;
            int realLv = info.LV + 1;
            bool isMax = IsMaxDecomLv(realLv,out realLv);
            bool isMax = IsMaxDecomLv(realLv, out realLv);
            if (realLv == decomposeLv)
            {
                addDecomposeExp = (int)info.Exp - decomposeExp;
            }
            else
            {
                for(int i = decomposeLv; i <= realLv; i++ )
                for (int i = decomposeLv; i <= realLv; i++)
                {
                    EquipDeComposeConfig deComposeConfig = Config.Instance.Get<EquipDeComposeConfig>(i);
                    if (i == decomposeLv)
                    {
                        addDecomposeExp = deComposeConfig.UpNeedExp - decomposeExp;
                    }
                    else if(i == realLv)
                    else if (i == realLv)
                    {
                        addDecomposeExp += (int)info.Exp;
                    }
@@ -1806,7 +1809,7 @@
                string lvStr = decomSetStr.Substring(1, decomSetStr.Length - 2);
                lvType = (EquipLvType)(int.Parse(lvStr) - 1);
            }
            if(RefreshDecomAttrAct != null)
            if (RefreshDecomAttrAct != null)
            {
                RefreshDecomAttrAct();
            }
@@ -1816,16 +1819,16 @@
        /// </summary>
        /// <param name="getMatInfos"></param>
        /// <returns></returns>
        private  List<DecomposeGetMatInfo> getMatInfos = new List<DecomposeGetMatInfo>();
        private List<DecomposeGetMatInfo> getMatInfos = new List<DecomposeGetMatInfo>();
        public List<DecomposeGetMatInfo> SetShowMatInfo()
        {
            getMatInfos.Clear();
            int sumMatCnt = 0;
            if(getItems != null)
            if (getItems != null)
            {
                for(int i = 0; i < getItems.Length; i++)
                for (int i = 0; i < getItems.Length; i++)
                {
                    if(getItems[i].Count > 0)
                    if (getItems[i].Count > 0)
                    {
                        sumMatCnt += getItems[i].Count;
                    }
@@ -1836,7 +1839,7 @@
                }
            }
            if(sumMatCnt > 5)
            if (sumMatCnt > 5)
            {
                for (int i = 0; i < getItems.Length; i++)
                {
@@ -1851,7 +1854,7 @@
                    {
                        if (getItems[i].Count > 0)
                        {
                           for(int j = 0; j < getItems[i].Count; j++)
                            for (int j = 0; j < getItems[i].Count; j++)
                            {
                                DecomposeGetMatInfo matInfo = new DecomposeGetMatInfo();
                                matInfo.ItemID = getItems[i].ItemID;
@@ -1951,9 +1954,9 @@
            haveDruglist.Clear();
            drugOrderlist.AddRange(makeDruglist);
            drugOrderlist.Sort(CompareByIsHave);
            for(int i = 0; i < drugOrderlist.Count; i++)
            for (int i = 0; i < drugOrderlist.Count; i++)
            {
                if(IsHaveDrugUse(drugOrderlist[i]))
                if (IsHaveDrugUse(drugOrderlist[i]))
                {
                    haveDruglist.Add(drugOrderlist[i]);
                }
@@ -1963,15 +1966,15 @@
            {
                drugOrderlist[i] = haveDruglist[i];
            }
            return drugOrderlist;
        }
        public bool CheckIsDrugById(int itemId)
        {
            for(int i = 0; i < makeDruglist.Count; i++)
            for (int i = 0; i < makeDruglist.Count; i++)
            {
                if(makeDruglist[i].ID == itemId)
                if (makeDruglist[i].ID == itemId)
                {
                    return true;
                }
@@ -1989,7 +1992,7 @@
            //isHaveEnd = IsHaveDrugRecycle(end);
            //if (isHaveStart.CompareTo(isHaveEnd) != 0) return -isHaveStart.CompareTo(isHaveEnd);
            isHaveStart = GetItemCountByID(PackType.rptItem,start.ID) > 0 ? true : false;
            isHaveStart = GetItemCountByID(PackType.rptItem, start.ID) > 0 ? true : false;
            isHaveEnd = GetItemCountByID(PackType.rptItem, end.ID) > 0 ? true : false;
            if (isHaveStart.CompareTo(isHaveEnd) != 0) return isHaveStart.CompareTo(isHaveEnd);
@@ -2005,7 +2008,7 @@
        public bool IsHaveDrugUse(AttrFruitConfig fruitConfig)
        {
            if(!IsReachMaxUseDrug(fruitConfig))
            if (!IsReachMaxUseDrug(fruitConfig))
            {
                return GetItemCountByID(PackType.rptItem, fruitConfig.ID) > 0 ? true : false;
            }
@@ -2027,7 +2030,7 @@
            if (fruitConfig == null) return false;
            int useNum = GetSumUseCntByID(fruitConfig.ID);
            if(useNum >= fruitConfig.MaxUseCnt)
            if (useNum >= fruitConfig.MaxUseCnt)
            {
                return true;
            }
@@ -2043,17 +2046,17 @@
            for (int i = 0; i < previewDanlist.Count; i++)
            {
                AttrFruitConfig fruitConfig = Config.Instance.Get<AttrFruitConfig>(previewDanlist[i]);
                if(fruitConfig != null)
                if (fruitConfig != null)
                {
                    limitlist.Add(fruitConfig);
                }
            }
            for(int i = 0; i < limitlist.Count; i++)
            for (int i = 0; i < limitlist.Count; i++)
            {
                progress += ((float)1 / limitlist.Count) *((float)GetSumUseCntByID(limitlist[i].ID)/limitlist[i].MaxUseCnt);
                progress += ((float)1 / limitlist.Count) * ((float)GetSumUseCntByID(limitlist[i].ID) / limitlist[i].MaxUseCnt);
            }
            return progress*100;
            return progress * 100;
        }
        #endregion
    }
Utility/EnumHelper.cs
@@ -1525,7 +1525,7 @@
    Def_IudetBirthChartLV = 40,  // 命格等级
    Def_IudetWingProgressValue = 42, //羽翼精炼值
    Def_IudetCreateTime = 44, // 时效物品的创建时间
    Def_IudetTotalTime = 48, // 时效物品的剩余时间
    #region 200~300 宠物数据用
    Def_IudetPet_NPCID = 200,  //npcID
    Def_IudetPet_ClassLV = 202,  // 阶级