少年修仙传客户端代码仓库
Hale Cai
2019-11-12 c5f8ac723ef20a1d1952c15fc33d76fc30a6ad0d
Merge branch 'master' of http://mobile.173on.com:10010/r/snxxz_scripts
52个文件已修改
2个文件已添加
871 ■■■■■ 已修改文件
Core/SDK/SDKUtility.cs 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/GameActor/GA_Hero.cs 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/MapTransferUtility.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/DelegatesGensBridge.cs 109 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/DelegatesGensBridge.cs.meta 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/EnumWrap.cs 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/EnumWrap.cs.meta 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIItemLogicUtilityWrap.cs 37 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIItemLogicUtilityWrap.cs.meta 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIPackModelWrap.cs 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIPackModelWrap.cs.meta 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Activity/ActivityModel.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Auction/AuctionModel.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Chat/ChatCenter.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Chat/VoiceHttpRequest.cs 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/ClientVersion/VersionUtility.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Debug/DebugUtility.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Dungeon/DungeonFightWin.cs 88 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Dungeon/DungeonInspireBehaviour.cs 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Dungeon/DungeonInspireWin.cs 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Equip/EquipModel.cs 40 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipStar/EquipStarEffectTipWin.cs 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipStar/EquipStarSuccessWin.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipTrain/EquipTrain.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipTrain/EquipTrainModel.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipTrain/EquipTrainWin.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairyAu/ExchangeActiveTokenModel.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FindPrecious/DemonJarModel.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FindPrecious/DemonJarWin.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FindPrecious/ElderGodAreaWin.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FindPrecious/FindPreciousBossRebornBehaviour.cs 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FindPrecious/PersonalBossWin.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FindPrecious/WorldBossWin.cs 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/ItemTip/ItemTipUtility.cs 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/ItemTip/TipOperateButton.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/ItemLogicUtility.cs 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/ItemOperateUtility.cs 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/PackModel.cs 52 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/New/RoleEquipWin.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Login/ServerListCenter.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/ChatFrame.cs 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/MainInterfaceWin.cs 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/TaskListTip.cs 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/OpenServerActivity/AchievementActivityWin.cs 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/OpenServerActivity/BossFirstBloodModel.cs 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/OpenServerActivity/BossFirstBloodWin.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/PlayerDead/PlayerDeadModel.cs 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Role/LingShiChange.cs 194 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Role/LingShiChange.cs.meta 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/SystemSetting/SystemSetting.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Vip/FirstTimeRechargeModel.cs 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/WorldMap/MapModel.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Utility/EnumHelper.cs 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Utility/OperationLogCollect.cs 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/SDK/SDKUtility.cs
@@ -993,7 +993,7 @@
        _stringBuilder.Remove(0, _stringBuilder.Length);
        HttpRequest.Instance.RequestHttpGet(_stringBuilder.Append("http://recharge.game.2460web.com:11000/api?").
        HttpRequest.Instance.RequestHttpGet(_stringBuilder.Append("http://recharge.game.secondworld.net.cn:11000/api?").
                                                           Append(HttpRequest.HashtablaToString(m_PaymentTable)).ToString(),
            HttpRequest.defaultHttpContentType, 1, (bool result, string message) =>
            {
@@ -1172,7 +1172,7 @@
    {
        BuildFreePlatformInfo(data);
        string _url = StringUtility.Contact("http://pub.game.2460web.com:11000/event_receiver?ProductID=xbqy",
        string _url = StringUtility.Contact("http://pub.game.secondworld.net.cn:11000/event_receiver?ProductID=xbqy",
        "&OperatorID=", VersionConfig.Get().appId,
         "&RegionName=data&RegionID=0&EventID=1105&Time=",
          DateTime.Now.ToString(),
Fight/GameActor/GA_Hero.cs
@@ -538,12 +538,12 @@
            return;
        }
        if (WindowCenter.Instance.ExistAnyFullScreenOrMaskWin()
         && (!WindowCenter.Instance.IsOpen<HazyRegionWin>() && !WindowCenter.Instance.IsOpen<HazyRegionFrameWin>()))
        {
            startAutoHazyRegion = false;
            return;
        }
        //if (WindowCenter.Instance.ExistAnyFullScreenOrMaskWin()
        // && (!WindowCenter.Instance.IsOpen<HazyRegionWin>() && !WindowCenter.Instance.IsOpen<HazyRegionFrameWin>()))
        //{
        //    startAutoHazyRegion = false;
        //    return;
        //}
        if (AdventureStage.Instance.IsInAdventureStage
         || ClientDungeonStageUtility.isClientDungeon
Fight/MapTransferUtility.cs
@@ -765,7 +765,7 @@
            var _curMapConfig = MapConfig.Get(PlayerDatas.Instance.baseData.MapID);
            // 副本中不可以传送
            if (_curMapConfig.MapFBType != 0)
            if (_curMapConfig.MapFBType != 0 && PlayerDatas.Instance.baseData.MapID != 31020)
            {
                SysNotifyMgr.Instance.ShowTip("InDungeon_CantGo");
                return;
Lua/Gen/DelegatesGensBridge.cs
@@ -6303,7 +6303,30 @@
#endif
        }
        
        public System.Collections.Generic.Dictionary<int, string> __Gen_Delegate_Imp273(object p0)
        public System.Collections.IEnumerator __Gen_Delegate_Imp273(object p0, bool p1)
        {
#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.lua_pushboolean(L, p1);
                PCall(L, 2, 1, errFunc);
                System.Collections.IEnumerator __gen_ret = (System.Collections.IEnumerator)translator.GetObject(L, errFunc + 1, typeof(System.Collections.IEnumerator));
                LuaAPI.lua_settop(L, errFunc - 1);
                return  __gen_ret;
#if THREAD_SAFE || HOTFIX_ENABLE
            }
#endif
        }
        public System.Collections.Generic.Dictionary<int, string> __Gen_Delegate_Imp274(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6325,7 +6348,7 @@
#endif
        }
        
        public int[] __Gen_Delegate_Imp274(object p0)
        public int[] __Gen_Delegate_Imp275(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6347,7 +6370,7 @@
#endif
        }
        
        public int[] __Gen_Delegate_Imp275(object p0, int p1)
        public int[] __Gen_Delegate_Imp276(object p0, int p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6370,7 +6393,7 @@
#endif
        }
        
        public Snxxz.UI.GodWeaponInfo __Gen_Delegate_Imp276(object p0, int p1)
        public Snxxz.UI.GodWeaponInfo __Gen_Delegate_Imp277(object p0, int p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6393,7 +6416,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp277(object p0, int p1, out System.Collections.Generic.List<Snxxz.UI.GodWeaponCondition> p2)
        public bool __Gen_Delegate_Imp278(object p0, int p1, out System.Collections.Generic.List<Snxxz.UI.GodWeaponCondition> p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6417,7 +6440,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp278(object p0, int p1, out Snxxz.UI.AutoHammerCost p2)
        public bool __Gen_Delegate_Imp279(object p0, int p1, out Snxxz.UI.AutoHammerCost p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6441,7 +6464,7 @@
#endif
        }
        
        public System.Collections.Generic.List<int> __Gen_Delegate_Imp279(object p0, int p1)
        public System.Collections.Generic.List<int> __Gen_Delegate_Imp280(object p0, int p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6464,7 +6487,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp280(object p0, object p1, object p2)
        public void __Gen_Delegate_Imp281(object p0, object p1, object p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6488,7 +6511,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp281(object p0, int p1, out int p2, out int p3)
        public bool __Gen_Delegate_Imp282(object p0, int p1, out int p2, out int p3)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6513,7 +6536,7 @@
#endif
        }
        
        public string __Gen_Delegate_Imp282(object p0, int p1, int p2)
        public string __Gen_Delegate_Imp283(object p0, int p1, int p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6537,7 +6560,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp283(object p0, TextColType p1, bool p2)
        public void __Gen_Delegate_Imp284(object p0, TextColType p1, bool p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6561,7 +6584,7 @@
#endif
        }
        
        public uint __Gen_Delegate_Imp284(object p0)
        public uint __Gen_Delegate_Imp285(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6583,7 +6606,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp285(object p0, uint p1)
        public void __Gen_Delegate_Imp286(object p0, uint p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6606,7 +6629,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp286(object p0, int p1, out Snxxz.UI.RuneItem p2)
        public bool __Gen_Delegate_Imp287(object p0, int p1, out Snxxz.UI.RuneItem p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6630,7 +6653,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp287(object p0, int p1, out Snxxz.UI.RuneHoleCondition p2)
        public bool __Gen_Delegate_Imp288(object p0, int p1, out Snxxz.UI.RuneHoleCondition p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6654,7 +6677,7 @@
#endif
        }
        
        public int __Gen_Delegate_Imp288(object p0, int p1, out Snxxz.UI.RuneItem p2)
        public int __Gen_Delegate_Imp289(object p0, int p1, out Snxxz.UI.RuneItem p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6678,7 +6701,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp289(object p0, int p1, out Snxxz.UI.RuneModel.RuneHoleRedpoint p2)
        public bool __Gen_Delegate_Imp290(object p0, int p1, out Snxxz.UI.RuneModel.RuneHoleRedpoint p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6702,7 +6725,7 @@
#endif
        }
        
        public int __Gen_Delegate_Imp290(object p0, int p1, float p2)
        public int __Gen_Delegate_Imp291(object p0, int p1, float p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6726,7 +6749,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp291(object p0, int p1, uint p2)
        public bool __Gen_Delegate_Imp292(object p0, int p1, uint p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6750,7 +6773,7 @@
#endif
        }
        
        public Snxxz.UI.RuneResolveModel __Gen_Delegate_Imp292(object p0)
        public Snxxz.UI.RuneResolveModel __Gen_Delegate_Imp293(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6772,7 +6795,7 @@
#endif
        }
        
        public Snxxz.UI.RuneModel __Gen_Delegate_Imp293(object p0)
        public Snxxz.UI.RuneModel __Gen_Delegate_Imp294(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6794,7 +6817,7 @@
#endif
        }
        
        public float __Gen_Delegate_Imp294(object p0, int p1, int p2, bool p3)
        public float __Gen_Delegate_Imp295(object p0, int p1, int p2, bool p3)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6819,7 +6842,7 @@
#endif
        }
        
        public float __Gen_Delegate_Imp295(object p0, int p1)
        public float __Gen_Delegate_Imp296(object p0, int p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6842,7 +6865,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp296(object p0, int p1, out Snxxz.UI.TreasureSkill p2)
        public bool __Gen_Delegate_Imp297(object p0, int p1, out Snxxz.UI.TreasureSkill p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6866,7 +6889,7 @@
#endif
        }
        
        public bool __Gen_Delegate_Imp297(object p0, int p1, out Snxxz.UI.TreasurePotential p2)
        public bool __Gen_Delegate_Imp298(object p0, int p1, out Snxxz.UI.TreasurePotential p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6890,7 +6913,7 @@
#endif
        }
        
        public Snxxz.UI.TreasureSkillModel __Gen_Delegate_Imp298(object p0)
        public Snxxz.UI.TreasureSkillModel __Gen_Delegate_Imp299(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6912,7 +6935,7 @@
#endif
        }
        
        public Snxxz.UI.SkillModel __Gen_Delegate_Imp299(object p0)
        public Snxxz.UI.SkillModel __Gen_Delegate_Imp300(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6934,7 +6957,7 @@
#endif
        }
        
        public Snxxz.UI.FuncSwitchModel __Gen_Delegate_Imp300(object p0)
        public Snxxz.UI.FuncSwitchModel __Gen_Delegate_Imp301(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6956,7 +6979,7 @@
#endif
        }
        
        public System.Collections.Generic.Dictionary<int, Snxxz.UI.FuncSwitchModel.FuncSwithData> __Gen_Delegate_Imp301(object p0)
        public System.Collections.Generic.Dictionary<int, Snxxz.UI.FuncSwitchModel.FuncSwithData> __Gen_Delegate_Imp302(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -6978,7 +7001,7 @@
#endif
        }
        
        public Snxxz.UI.TestModel __Gen_Delegate_Imp302(object p0)
        public Snxxz.UI.TestModel __Gen_Delegate_Imp303(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7000,7 +7023,7 @@
#endif
        }
        
        public UIEffect __Gen_Delegate_Imp303(object p0)
        public UIEffect __Gen_Delegate_Imp304(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7022,7 +7045,7 @@
#endif
        }
        
        public Treasure3DConfig __Gen_Delegate_Imp304(object p0)
        public Treasure3DConfig __Gen_Delegate_Imp305(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7044,7 +7067,7 @@
#endif
        }
        
        public UnityEngine.Vector3 __Gen_Delegate_Imp305(object p0, UnityEngine.Vector3 p1)
        public UnityEngine.Vector3 __Gen_Delegate_Imp306(object p0, UnityEngine.Vector3 p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7067,7 +7090,7 @@
#endif
        }
        
        public UnityEngine.Vector3 __Gen_Delegate_Imp306(object p0)
        public UnityEngine.Vector3 __Gen_Delegate_Imp307(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7089,7 +7112,7 @@
#endif
        }
        
        public Treasure3DConfig.TreasureParam __Gen_Delegate_Imp307(object p0)
        public Treasure3DConfig.TreasureParam __Gen_Delegate_Imp308(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7111,7 +7134,7 @@
#endif
        }
        
        public Snxxz.UI.UI3DTreasureSelectStage __Gen_Delegate_Imp308()
        public Snxxz.UI.UI3DTreasureSelectStage __Gen_Delegate_Imp309()
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7132,7 +7155,7 @@
#endif
        }
        
        public TreasureCategory __Gen_Delegate_Imp309(object p0)
        public TreasureCategory __Gen_Delegate_Imp310(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7154,7 +7177,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp310(object p0, bool p1, TreasureCategory p2)
        public void __Gen_Delegate_Imp311(object p0, bool p1, TreasureCategory p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7178,7 +7201,7 @@
#endif
        }
        
        public System.Collections.IEnumerator __Gen_Delegate_Imp311(object p0, TreasureCategory p1, object p2)
        public System.Collections.IEnumerator __Gen_Delegate_Imp312(object p0, TreasureCategory p1, object p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7202,7 +7225,7 @@
#endif
        }
        
        public void __Gen_Delegate_Imp312(object p0, TreasureCategory p1, bool p2)
        public void __Gen_Delegate_Imp313(object p0, TreasureCategory p1, bool p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7226,7 +7249,7 @@
#endif
        }
        
        public UnityEngine.Vector3 __Gen_Delegate_Imp313(object p0, int p1)
        public UnityEngine.Vector3 __Gen_Delegate_Imp314(object p0, int p1)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7249,7 +7272,7 @@
#endif
        }
        
        public System.Collections.IEnumerator __Gen_Delegate_Imp314(object p0, object p1, float p2)
        public System.Collections.IEnumerator __Gen_Delegate_Imp315(object p0, object p1, float p2)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
@@ -7273,7 +7296,7 @@
#endif
        }
        
        public Snxxz.UI.SignInModel __Gen_Delegate_Imp315(object p0)
        public Snxxz.UI.SignInModel __Gen_Delegate_Imp316(object p0)
        {
#if THREAD_SAFE || HOTFIX_ENABLE
            lock (luaEnv.luaEnvLock)
Lua/Gen/DelegatesGensBridge.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 0519bc8b12950f94780ca13048187d11
timeCreated: 1573039444
timeCreated: 1573207905
licenseType: Pro
MonoImporter:
  serializedVersion: 2
Lua/Gen/EnumWrap.cs
@@ -10626,7 +10626,7 @@
            Utils.BeginObjectRegister(typeof(ItemOperateType), L, translator, 0, 0, 0, 0);
            Utils.EndObjectRegister(typeof(ItemOperateType), L, translator, null, null, null, null, null);
            
            Utils.BeginClassRegister(typeof(ItemOperateType), L, null, 25, 0, 0);
            Utils.BeginClassRegister(typeof(ItemOperateType), L, null, 26, 0, 0);
            
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "makeUse", ItemOperateType.makeUse);
            
@@ -10675,6 +10675,8 @@
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "train", ItemOperateType.train);
            
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "star", ItemOperateType.star);
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "lsExchange", ItemOperateType.lsExchange);
            
            Utils.RegisterFunc(L, Utils.CLS_IDX, "__CastFrom", __CastFrom);
            
@@ -10789,6 +10791,10 @@
                {
                    translator.PushItemOperateType(L, ItemOperateType.star);
                }
                else if (LuaAPI.xlua_is_eq_str(L, 1, "lsExchange"))
                {
                    translator.PushItemOperateType(L, ItemOperateType.lsExchange);
                }
                else
                {
                    return LuaAPI.luaL_error(L, "invalid string for ItemOperateType!");
Lua/Gen/EnumWrap.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 881e0b71befc6fa4280f462d3ea21f1b
timeCreated: 1573039490
timeCreated: 1573207954
licenseType: Pro
MonoImporter:
  serializedVersion: 2
Lua/Gen/SnxxzUIItemLogicUtilityWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.ItemLogicUtility);
            Utils.BeginObjectRegister(type, L, translator, 0, 37, 3, 1);
            Utils.BeginObjectRegister(type, L, translator, 0, 38, 3, 1);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEquipScore", _m_GetEquipScore);
@@ -58,6 +58,7 @@
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSpecialSpiritPropertyMaxLevel", _m_GetSpecialSpiritPropertyMaxLevel);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPreciousItemEvent", _e_GetPreciousItemEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetExpItemEvent", _e_GetExpItemEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBetterEquipEvent", _e_GetBetterEquipEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "PickItemEvent", _e_PickItemEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "lookEquipEvent", _e_lookEquipEvent);
@@ -1217,6 +1218,40 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_GetExpItemEvent(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                int gen_param_count = LuaAPI.lua_gettop(L);
            Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
                System.Action<PackType, string> gen_delegate = translator.GetDelegate<System.Action<PackType, string>>(L, 3);
                if (gen_delegate == null) {
                    return LuaAPI.luaL_error(L, "#3 need System.Action<PackType, string>!");
                }
                if (gen_param_count == 3)
                {
                    if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
                        gen_to_be_invoked.GetExpItemEvent += gen_delegate;
                        return 0;
                    }
                    if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
                        gen_to_be_invoked.GetExpItemEvent -= 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.ItemLogicUtility.GetExpItemEvent!");
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_GetBetterEquipEvent(RealStatePtr L)
        {
            try {
Lua/Gen/SnxxzUIItemLogicUtilityWrap.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: c9953e4a63f12b244a1a8a977a11af88
timeCreated: 1573039508
timeCreated: 1573207987
licenseType: Pro
MonoImporter:
  serializedVersion: 2
Lua/Gen/SnxxzUIPackModelWrap.cs
@@ -21,7 +21,7 @@
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            System.Type type = typeof(Snxxz.UI.PackModel);
            Utils.BeginObjectRegister(type, L, translator, 0, 77, 23, 5);
            Utils.BeginObjectRegister(type, L, translator, 0, 77, 24, 6);
            
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "ParseItemCount", _m_ParseItemCount);
@@ -122,12 +122,14 @@
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "isAutoDecompose", _g_get_isAutoDecompose);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "recordAutoDecomNum", _g_get_recordAutoDecomNum);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "getItems", _g_get_getItems);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "lsItemID", _g_get_lsItemID);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "textCountShow", _g_get_textCountShow);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "redpointEquipDecom", _g_get_redpointEquipDecom);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectDevourlist", _g_get_selectDevourlist);
            
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "isPlayBetterEquipEffect", _s_set_isPlayBetterEquipEffect);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "isAutoDecompose", _s_set_isAutoDecompose);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "lsItemID", _s_set_lsItemID);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "textCountShow", _s_set_textCountShow);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "redpointEquipDecom", _s_set_redpointEquipDecom);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "selectDevourlist", _s_set_selectDevourlist);
@@ -2337,6 +2339,20 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_lsItemID(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.PackModel gen_to_be_invoked = (Snxxz.UI.PackModel)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.lsItemID);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_textCountShow(RealStatePtr L)
        {
            try {
@@ -2424,6 +2440,21 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_lsItemID(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.PackModel gen_to_be_invoked = (Snxxz.UI.PackModel)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.lsItemID = LuaAPI.xlua_tointeger(L, 2);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_textCountShow(RealStatePtr L)
        {
            try {
Lua/Gen/SnxxzUIPackModelWrap.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: eaf5981291c22b14587ae78467f1b017
timeCreated: 1573039524
timeCreated: 1573207998
licenseType: Pro
MonoImporter:
  serializedVersion: 2
System/Activity/ActivityModel.cs
@@ -131,7 +131,7 @@
            if (StageLoad.Instance.currentStage is DungeonStage)
            {
                var _mapConfig = MapConfig.Get(PlayerDatas.Instance.baseData.MapID);
                if (_mapConfig.MapFBType == 0)
                if (_mapConfig.MapFBType == 0 || PlayerDatas.Instance.baseData.MapID == 31020)
                {
                    mainStage = true;
                    SnxxzGame.Instance.StartCoroutine(Co_StageLoad());
System/Auction/AuctionModel.cs
@@ -842,7 +842,7 @@
            var cost = immediatly ? config.BuyoutPrice * item.itemCount : AuctionLogicUtil.GetBiddingRequireMoney(item);
            var label = Language.Get(immediatly ? "PMH_02" : "PMH_01", cost);
            var itemConfig = ItemConfig.Get(item.itemId);
            if (itemConfig.JobLimit != PlayerDatas.Instance.baseData.Job)
            if (ItemLogicUtility.Instance.IsRealmEquip(item.itemId) && itemConfig.JobLimit != PlayerDatas.Instance.baseData.Job)
                label = label + "\n" + Language.Get("PMH_NoJob");
            ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"), label, (bool isOk) =>
System/Chat/ChatCenter.cs
@@ -382,7 +382,7 @@
            }
        }
        const string downloadUrl = "http://{0}.voice.2460web.com:53001/voice/download";
        const string downloadUrl = "http://{0}.voice.secondworld.net.cn:53001/voice/download";
        private void SendSpeech(byte[] encode, long _tick, bool clientBan)
        {
            if (IsChatBanned || clientBan)
System/Chat/VoiceHttpRequest.cs
@@ -8,8 +8,8 @@
public class VoiceHttpRequest : SingletonMonobehaviour<VoiceHttpRequest>
{
    const string uploadUrl = "http://{0}.voice.2460web.com:53001/voice/upload";
    const string downloadUrl = "http://{0}.voice.2460web.com:53001/voice/download";
    const string uploadUrl = "http://{0}.voice.secondworld.net.cn:53001/voice/upload";
    const string downloadUrl = "http://{0}.voice.secondworld.net.cn:53001/voice/download";
    public Queue<VoiceHttp> speechs = new Queue<VoiceHttp>();
System/ClientVersion/VersionUtility.cs
@@ -17,7 +17,7 @@
public class VersionUtility : Singleton<VersionUtility>
{
    public static readonly string[] VERSION_URL = new string[] {
        "http://pub.game.2460web.com:11000/appversion/?" ,
        "http://pub.game.secondworld.net.cn:11000/appversion/?" ,
        "http://111.230.234.252:11000/appversion/?"};
    public string androidRoot { get { return StringUtility.Contact(SDKUtility.Instance.DeviceRootPath, "/", VersionConfig.Get().bundleIdentifier); } }
System/Debug/DebugUtility.cs
@@ -9,7 +9,7 @@
[XLua.LuaCallCSharp]
public class DebugUtility : Singleton<DebugUtility>
{
    const string url = "http://pub.game.2460web.com:11000/dbg_player/?";
    const string url = "http://pub.game.secondworld.net.cn:11000/dbg_player/?";
    GameObject debugRoot;
System/Dungeon/DungeonFightWin.cs
@@ -255,7 +255,7 @@
                }
                else
                {
                    language = Language.Get(config.ExitDescription);
                    //language = Language.Get(config.ExitDescription);
                }
            }
            else if (dataMapId == GatherSoulDungeonModel.DUNGEON_MAPID)
@@ -275,48 +275,58 @@
                language = Language.Get(config.ExitDescription);
            }
            ConfirmCancel.ShowPopConfirm(
                Language.Get("Mail101"),
                language,
                (bool _ok) =>
                {
                    if (_ok)
            if (language == string.Empty)
            {
                ExitDungeon_OK(dataMapId);
            }
            else {
                ConfirmCancel.ShowPopConfirm(
                    Language.Get("Mail101"),
                    language,
                    (bool _ok) =>
                    {
                        switch (dataMapId)
                        if (_ok)
                        {
                            case HazyGrassModel.FAIRY_DATAMAP:
                            case HazyGrassModel.REIKI_DATAMAP:
                            case HazyDemonKingModel.CROSSSERVERDATAMAP:
                            case CrossServerBossModel.DATA_MAPID:
                                var crossServerBossModel = ModelCenter.Instance.GetModel<CrossServerBossModel>();
                                crossServerBossModel.RequestExit();
                                break;
                            case TreasureModel.CLIENTDATAMAP:
                            case HazyRegionModel.PRECIOUS_CLIENTDATAMAP:
                            case PersonalBossModel.PERSONALBOSS_MAPID:
                            case ClientGuardDungeon.DATAMAPID:
                            case HazyGrassModel.REIKI_CLIENTDATAMAP:
                            case HazyGrassModel.FAIRY_CLIENTDATAMAP:
                            case HazyDemonKingModel.CLIENTDATAMAP:
                                ClientDungeonStageUtility.ExitNormalClientDungeon();
                                break;
                            case DemonJarModel.DATA_MAPID:
                                if (StageLoad.Instance.currentStage is FakeDemonJarDungeonStage)
                                {
                                    ClientDungeonStageUtility.ExitNormalClientDungeon();
                                }
                                else
                                {
                                    model.ExitCurrentDungeon();
                                }
                                break;
                            default:
                                model.ExitCurrentDungeon();
                                break;
                            ExitDungeon_OK(dataMapId);
                        }
                    }
                }
                );
                    );
            }
        }
        private void ExitDungeon_OK(int dataMapId) {
            switch (dataMapId)
            {
                case HazyGrassModel.FAIRY_DATAMAP:
                case HazyGrassModel.REIKI_DATAMAP:
                case HazyDemonKingModel.CROSSSERVERDATAMAP:
                case CrossServerBossModel.DATA_MAPID:
                    var crossServerBossModel = ModelCenter.Instance.GetModel<CrossServerBossModel>();
                    crossServerBossModel.RequestExit();
                    break;
                case TreasureModel.CLIENTDATAMAP:
                case HazyRegionModel.PRECIOUS_CLIENTDATAMAP:
                case PersonalBossModel.PERSONALBOSS_MAPID:
                case ClientGuardDungeon.DATAMAPID:
                case HazyGrassModel.REIKI_CLIENTDATAMAP:
                case HazyGrassModel.FAIRY_CLIENTDATAMAP:
                case HazyDemonKingModel.CLIENTDATAMAP:
                    ClientDungeonStageUtility.ExitNormalClientDungeon();
                    break;
                case DemonJarModel.DATA_MAPID:
                    if (StageLoad.Instance.currentStage is FakeDemonJarDungeonStage)
                    {
                        ClientDungeonStageUtility.ExitNormalClientDungeon();
                    }
                    else
                    {
                        model.ExitCurrentDungeon();
                    }
                    break;
                default:
                    model.ExitCurrentDungeon();
                    break;
            }
        }
        private void ShowItemCollect()
System/Dungeon/DungeonInspireBehaviour.cs
@@ -55,7 +55,6 @@
            }
            switch (mapId)
            {
                case DemonJarModel.DATA_MAPID:
                case JadeDynastyBossModel.JADEDYNASTY_MAP:
                case AllianceBossModel.DATAMAPID:
                    m_Icon.SetSprite("W_XYGuwu_a2");
System/Dungeon/DungeonInspireWin.cs
@@ -29,6 +29,9 @@
        [SerializeField] Button m_Cancel;
        [SerializeField] Button m_Close;
        [SerializeField] TextEx m_CoinMostTimes;
        DungeonModel model { get { return ModelCenter.Instance.GetModel<DungeonModel>(); } }
        DemonJarModel demonJarModel { get { return ModelCenter.Instance.GetModel<DemonJarModel>(); } }
@@ -76,6 +79,9 @@
            }
            m_CoinInspire.gameObject.SetActive(coinInspireConfig != null);
            if (coinInspireConfig != null)
                m_CoinMostTimes.text = Language.Get(coinInspireConfig.InspireCount == 10 ? "FairyLandMostTimes2" : "FairyLandMostTimes1");
            m_FairyInspire.gameObject.SetActive(fairyInspireConfig != null);
            coinInspire = IsCoinInspireLimit() ? false : true;
            fairyInspire = !coinInspire;
System/Equip/EquipModel.cs
@@ -59,6 +59,7 @@
            packModel.refrechPackEvent += OnItemPackRefresh;
            packModel.refreshItemCountEvent += OnItemCountRefresh;
            PlayerDatas.Instance.playerDataRefreshEvent += OnPlayerDataRefresh;
        }
        public override void UnInit()
@@ -70,6 +71,18 @@
            refreshAllSuitPoint = false;
        }
        public Dictionary<int, int> EquipLevelFuncID = new Dictionary<int, int>();
        public void ParseEquipLevelFuncID()
        {
            var textConfig = FuncConfigConfig.Get("EquipPlusByFuncID");
            var json = JsonMapper.ToObject(textConfig.Numerical1);
            foreach (var key in json.Keys)
            {
                var funcid = int.Parse(key);
                EquipLevelFuncID[funcid] = (int)json[key];
            }
        }
        public void OnAfterPlayerDataInitialize()
        {
            var playerId = PlayerDatas.Instance.baseData.PlayerID;
@@ -419,6 +432,31 @@
            var sets = new List<int>();
            for (var i = 0; i < sortedLevels.Count; i++)
            {
                var level = sortedLevels[i];
                var set = equipSets[level];
                if (set.unLocked)
                {
                    sets.Add(set.level);
                }
                else
                {
                    break;
                }
            }
            return sets;
        }
        public List<int> GetUnLockedEquipSetsByFuncID(int funcID)
        {
            var sets = new List<int>();
            int limitLevel = 0;
            if (EquipLevelFuncID != null)
                limitLevel = EquipLevelFuncID[funcID];
            for (var i = 0; i < sortedLevels.Count; i++)
            {
                if (i < (limitLevel-1)) continue;
                var level = sortedLevels[i];
                var set = equipSets[level];
                if (set.unLocked)
@@ -1082,7 +1120,7 @@
                var name = json[key].ToString();
                equipSetNames[level] = name;
            }
            ParseEquipLevelFuncID();
        }
        public static int GetItemServerEquipPlace(int itemId)
System/EquipStar/EquipStarEffectTipWin.cs
@@ -18,6 +18,7 @@
        [SerializeField] RectTransform m_SuitContainer;
        [SerializeField] SuitBehaviour[] m_SuitBehaviours;
        [SerializeField] RectTransform m_TrainContainer;
        [SerializeField] Text m_StarProperty;
        [SerializeField] Text m_GemHole;
@@ -25,6 +26,7 @@
        [SerializeField] Text m_TrainLimit;
        EquipStarEffectTipModel model { get { return ModelCenter.Instance.GetModel<EquipStarEffectTipModel>(); } }
        EquipTrainModel equipTrainModel { get { return ModelCenter.Instance.GetModel<EquipTrainModel>(); } }
        #region Built-in
        protected override void BindController()
@@ -143,6 +145,13 @@
        private void DisplayTrainLimit()
        {
            if (model.equipPosition.x < equipTrainModel.limitLevel)
            {
                m_TrainContainer.gameObject.SetActive(false);
                return;
            }
            m_TrainContainer.gameObject.SetActive(true);
            var effectInfos = model.GetTrainLevelInfos(model.equipPosition);
            var descriptions = new string[effectInfos.Count];
            for (var i = 0; i < descriptions.Length; i++)
System/EquipStar/EquipStarSuccessWin.cs
@@ -31,6 +31,7 @@
        EquipStarModel starModel { get { return ModelCenter.Instance.GetModel<EquipStarModel>(); } }
        EquipStarSuccessModel model { get { return ModelCenter.Instance.GetModel<EquipStarSuccessModel>(); } }
        EquipStrengthModel strengthModel { get { return ModelCenter.Instance.GetModel<EquipStrengthModel>(); } }
        EquipTrainModel equipTrainModel { get { return ModelCenter.Instance.GetModel<EquipTrainModel>(); } }
        int ActiveSuit = -1;
        string ActiveSuitString = string.Empty;
@@ -287,6 +288,8 @@
        private void DisplayTrainLevel()
        {
            if (model.equipPosition.x < equipTrainModel.limitLevel)
                return;
            var type = EquipTrainModel.GetTrainType(model.equipPosition.y);
            var beforeConfig = WashLevelMaxConfig.Get(type, model.star - 1);
            var nowConfig = WashLevelMaxConfig.Get(type, model.star);
System/EquipTrain/EquipTrain.cs
@@ -12,7 +12,7 @@
    public class EquipTrainSet
    {
        public readonly int level = 0;
        public readonly int level = 1;
        public Redpoint redpoint;
        Dictionary<int, EquipTrain> equipTrains = new Dictionary<int, EquipTrain>();
System/EquipTrain/EquipTrainModel.cs
@@ -31,6 +31,8 @@
        PackModel packModel { get { return ModelCenter.Instance.GetModel<PackModel>(); } }
        EquipModel equipModel { get { return ModelCenter.Instance.GetModel<EquipModel>(); } }
        public int limitLevel;
        public override void Init()
        {
            ParseConfig();
@@ -38,6 +40,7 @@
            var levels = equipModel.GetAllEquipSets();
            foreach (var level in levels)
            {
                if (level < limitLevel) continue;
                equipTrains[level] = new EquipTrainSet(level);
            }
@@ -249,6 +252,7 @@
        public void SelectLevel(int level)
        {
            selectedLevel.value = level;
            selectedLevel.dirty = true;
            candidatePlaces.Clear();
            if (level > 0)
@@ -380,7 +384,7 @@
                }
            }
            return new Int2(1, 1);
            return new Int2(limitLevel, 1);
        }
        public int GetTrainLevel(Int2 equipPosition)
@@ -797,6 +801,10 @@
        {
            var config = FuncConfigConfig.Get("EquipWashGroup");
            trainTypes = ConfigParse.GetDic<int, int>(config.Numerical1);
            if (equipModel.EquipLevelFuncID == null)
                equipModel.ParseEquipLevelFuncID();
            limitLevel = equipModel.EquipLevelFuncID[91];
        }
        public static int GetTrainType(int place)
System/EquipTrain/EquipTrainWin.cs
@@ -385,7 +385,7 @@
        private void CreateLevelBehaviours()
        {
            var levels = equipModel.GetUnLockedEquipSets();
            var levels = equipModel.GetUnLockedEquipSetsByFuncID(91);
            var gap = levels.Count - levelBehaviours.Count;
            for (var i = 0; i < gap; i++)
            {
System/FairyAu/ExchangeActiveTokenModel.cs
@@ -264,7 +264,7 @@
        {
            var iEqu = suitEquips[i];
            if (!ItemLogicUtility.Instance.IsJobCompatibleItem(iEqu.itemId))
            if (!ItemLogicUtility.Instance.IsJobCompatibleItem(iEqu.itemId) && !iEqu.isAuction)
            {
                ChoseEquips.Add(iEqu);
            }
System/FindPrecious/DemonJarModel.cs
@@ -12,7 +12,7 @@
    [XLua.LuaCallCSharp]
    public class DemonJarModel : Model, IBeforePlayerDataInitialize, IAfterPlayerDataInitialize, ISwitchAccount, IPlayerLoginOk
    {
        public const int TOTALTIME_LIMIT = 5;
        public const int TOTALTIME_LIMIT = 3;
        public const int SINGLEMAPID = 52020;
        public const int DATA_MAPID = 52010;
System/FindPrecious/DemonJarWin.cs
@@ -242,6 +242,9 @@
                    case 6:
                        SysNotifyMgr.Instance.ShowTip("BossRealmHint2", NPCConfig.Get(model.selectedBoss).Realm);
                        break;
                    case 7:
                        SysNotifyMgr.Instance.ShowTip("DungeonNoGO");
                        break;
                }
            }
@@ -336,6 +339,13 @@
                return false;
            }
            var mapConfig = MapConfig.Get(PlayerDatas.Instance.baseData.MapID);
            if (mapConfig.MapFBType != (int)MapType.OpenCountry && PlayerDatas.Instance.baseData.MapID != 31020)
            {
                _error = 7;
                return false;
            }
            _error = 0;
            return true;
        }
System/FindPrecious/ElderGodAreaWin.cs
@@ -150,7 +150,7 @@
            }
            var mapConfig = MapConfig.Get(PlayerDatas.Instance.baseData.MapID);
            if (mapConfig.MapFBType != (int)MapType.OpenCountry)
            if (mapConfig.MapFBType != (int)MapType.OpenCountry && PlayerDatas.Instance.baseData.MapID != 31020)
            {
                _error = 3;
                return false;
System/FindPrecious/FindPreciousBossRebornBehaviour.cs
@@ -153,7 +153,7 @@
            var mapId = PlayerDatas.Instance.baseData.MapID;
            var mapConfig = MapConfig.Get(mapId);
            if (mapConfig.MapFBType == (int)MapType.OpenCountry)
            if (mapConfig.MapFBType == (int)MapType.OpenCountry || PlayerDatas.Instance.baseData.MapID == 31020)
            {
                WindowCenter.Instance.Close<MainInterfaceWin>();
                demonJarModel.selectedBoss = _bossId;
@@ -176,7 +176,7 @@
            var mapId = PlayerDatas.Instance.baseData.MapID;
            var mapConfig = MapConfig.Get(mapId);
            if (mapConfig.MapFBType != (int)MapType.OpenCountry)
            if (mapConfig.MapFBType != (int)MapType.OpenCountry && PlayerDatas.Instance.baseData.MapID != 31020)
            {
                SysNotifyMgr.Instance.ShowTip("InDungeon_CantGo");
                return;
@@ -270,7 +270,7 @@
                var mapId = PlayerDatas.Instance.baseData.MapID;
                var mapConfig = MapConfig.Get(mapId);
                if (mapConfig.MapFBType == (int)MapType.OpenCountry)
                if (mapConfig.MapFBType == (int)MapType.OpenCountry || PlayerDatas.Instance.baseData.MapID == 31020)
                {
                    var error = 0;
                    if (TestEnterElderGodAreaDungeon(out error))
System/FindPrecious/PersonalBossWin.cs
@@ -129,7 +129,7 @@
            }
            var mapConfig = MapConfig.Get(PlayerDatas.Instance.baseData.MapID);
            if (mapConfig.MapFBType != (int)MapType.OpenCountry)
            if (mapConfig.MapFBType != (int)MapType.OpenCountry && PlayerDatas.Instance.baseData.MapID != 31020)
            {
                _error = 4;
                return false;
System/FindPrecious/WorldBossWin.cs
@@ -236,7 +236,7 @@
                        }
                        else
                        {
                            tip = Language.Get(config.ExitDescription);
                            //tip = Language.Get(config.ExitDescription);
                        }
                    }
                    else
@@ -244,18 +244,25 @@
                        tip = Language.Get(config.ExitDescription);
                    }
                    ConfirmCancel.ShowPopConfirm(
                        Language.Get("Mail101"),
                        tip,
                        (bool _ok) =>
                        {
                            if (_ok)
                    if (tip == string.Empty)
                    {
                        WindowCenter.Instance.Close<FindPreciousFrameWin>();
                        MapTransferUtility.Instance.MoveToNPC(model.selectedBoss);
                    }
                    else {
                        ConfirmCancel.ShowPopConfirm(
                            Language.Get("Mail101"),
                            tip,
                            (bool _ok) =>
                            {
                                WindowCenter.Instance.Close<FindPreciousFrameWin>();
                                MapTransferUtility.Instance.MoveToNPC(model.selectedBoss);
                                if (_ok)
                                {
                                    WindowCenter.Instance.Close<FindPreciousFrameWin>();
                                    MapTransferUtility.Instance.MoveToNPC(model.selectedBoss);
                                }
                            }
                        }
                        );
                            );
                    }
                    break;
                case 2:
                    SysNotifyMgr.Instance.ShowTip("InDungeon_CantGo");
System/ItemTip/ItemTipUtility.cs
@@ -909,6 +909,9 @@
                case ItemOperateType.exchange:
                    WindowJumpMgr.Instance.WindowJumpTo(JumpUIType.ExchangeActiveToken);
                    break;
                case ItemOperateType.lsExchange:
                    WindowCenter.Instance.Open<LingShiChange>();
                    break;
            }
        }
@@ -1749,19 +1752,23 @@
        {
            var config = ItemConfig.Get(itemId);
            var operates = new List<ItemOperateType>();
            if (config.CanSell == 1)
            var lsItemID = 150;
            if (config.CanSell == 1 && itemId != lsItemID)
            {
                operates.Add(ItemOperateType.sell);
            }
            if (itemCount > 1)
            if (itemCount > 1 && itemId != lsItemID)
            {
                operates.Add(ItemOperateType.split);
            }
            if (config.UseTag == 1)
            {
                operates.Add(ItemOperateType.makeUse);
                if (itemId != lsItemID)
                    operates.Add(ItemOperateType.makeUse);
                else
                    operates.Add(ItemOperateType.lsExchange);
            }
            if (config.Type == 25 || config.Effect1 == 225)
@@ -1830,7 +1837,11 @@
                    if (FuncOpen.Instance.IsFuncOpen(91))
                    {
                        operates.Add(ItemOperateType.train);
                        int limitLevel = 0;
                        if (equipModel.EquipLevelFuncID != null)
                            limitLevel = equipModel.EquipLevelFuncID[91];
                        if (item.config.LV >= limitLevel)
                            operates.Add(ItemOperateType.train);
                    }
                    return operates;
System/ItemTip/TipOperateButton.cs
@@ -77,6 +77,9 @@
                case ItemOperateType.exchange:
                    this.m_Title.text = "兑换";
                    break;
                case ItemOperateType.lsExchange:
                    this.m_Title.text = "灵石兑换";
                    break;
                case ItemOperateType.renewal:
                    this.m_Title.text = "前往购买";
                    break;
System/KnapSack/Logic/ItemLogicUtility.cs
@@ -16,9 +16,12 @@
        Dictionary<int, int> specialSpiritPropertyMaxLevels;
        private int[] preciousItemTypes;
        private int[] preciousItemIDs; // 不展示的物品ID
        private int[] drugIDs;
        private int[] onekeySellTypes;
        private int[] pushItemIds;
        private int lsItemCnt; // 背包中的灵石数量
        private List<int> equipBaseProperties = new List<int>();
        private Dictionary<int, int> promptUseLimitDict;
@@ -66,11 +69,13 @@
                    equipBaseProperties.Add(int.Parse(baseAttr[i].ToString()));
                }
            }
            lsItemCnt = int.Parse(FuncConfigConfig.Get("LingshiShowCount").Numerical1);
            preciousItemTypes = ConfigParse.GetMultipleStr<int>(FuncConfigConfig.Get("ItemPush").Numerical1);
            promptUseLimitDict = ConfigParse.GetDic<int, int>(FuncConfigConfig.Get("NoPromptUsetItem").Numerical1);
            preciousItemIDs = ConfigParse.GetMultipleStr<int>(FuncConfigConfig.Get("ItemPush").Numerical3);
            drugIDs = ConfigParse.GetMultipleStr<int>(FuncConfigConfig.Get("LifePotionlist").Numerical1);
            onekeySellTypes = ConfigParse.GetMultipleStr<int>(FuncConfigConfig.Get("OneKeySellItemType").Numerical1);
            pushItemIds = ConfigParse.GetMultipleStr<int>(FuncConfigConfig.Get("IntroductionItem").Numerical1);
@@ -419,16 +424,22 @@
        public event Action<PackType, string> GetExpItemEvent; //得到经验物品  value 物品的实例ID
        public void RecommendItem(ItemModel item)
        {
            if (!preciousItemTypes.Contains(item.config.Type))
            {
                return;
            }
            if (item.packType != PackType.Item)
            {
                return;
            }
            if (!preciousItemTypes.Contains(item.config.Type))
            {
                return;
            }
            if (preciousItemIDs != null && preciousItemIDs.Contains(item.config.ID))
            {
                return;
            }
            if (item.config.ID == packModel.lsItemID && packModel.GetItemCountByID(PackType.Item, packModel.lsItemID) < lsItemCnt)
            {
                return;
            }
            //if (item.isAuction)
            //{
            //    return;
@@ -458,6 +469,7 @@
            }
            if (item.config.Type == 13)
            {
                // 经验丹特殊处理,优先显示
                if (GetExpItemEvent != null)
                {
                    GetExpItemEvent(item.packType, item.guid);
System/KnapSack/Logic/ItemOperateUtility.cs
@@ -538,24 +538,24 @@
                return;
            }
            int dungeonID = packModel.GetDungeonIDByDrugID(useItemModel.itemId);
            if (dungeonID != 0)
            {
                MapConfig tagMapModel = MapConfig.Get(PlayerDatas.Instance.baseData.MapID);
                if (tagMapModel.MapFBType == 0)
                {
                    DungeonOpenTimeConfig timeConfig = DungeonOpenTimeConfig.Get(dungeonID);
                    ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"), Language.Get("DrugUsePrompt", useItemModel.config.ItemName, timeConfig.FBName),
                        (bool isOk) =>
                        {
                            if (isOk)
                            {
                                CheckUseCondition(useItemModel);
                            }
                        });
                    return;
                }
            }
            //int dungeonID = packModel.GetDungeonIDByDrugID(useItemModel.itemId);
            //if (dungeonID != 0)
            //{
            //    MapConfig tagMapModel = MapConfig.Get(PlayerDatas.Instance.baseData.MapID);
            //    if (tagMapModel.MapFBType == 0)
            //    {
            //        DungeonOpenTimeConfig timeConfig = DungeonOpenTimeConfig.Get(dungeonID);
            //        ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"), Language.Get("DrugUsePrompt", useItemModel.config.ItemName, timeConfig.FBName),
            //            (bool isOk) =>
            //            {
            //                if (isOk)
            //                {
            //                    CheckUseCondition(useItemModel);
            //                }
            //            });
            //        return;
            //    }
            //}
            for (int i = 0; i < itemTipsModel.jumpAndUseTypes.Length; i++)
            {
System/KnapSack/Logic/PackModel.cs
@@ -26,6 +26,9 @@
        AlchemyModel alchemyModel { get { return ModelCenter.Instance.GetModel<AlchemyModel>(); } }
        ItemTipsModel itemTipsModel { get { return ModelCenter.Instance.GetModel<ItemTipsModel>(); } }
        public int lsItemID = 150; //可兑换的灵石物品ID
        int lsItemCnt = int.Parse(FuncConfigConfig.Get("LingshiShowCount").Numerical1);
        UIEffect lingshiEffect;  //灵石特效
        public override void Init()
        {
@@ -34,7 +37,7 @@
            List<DungeonOpenTimeConfig> dungeonlist = DungeonOpenTimeConfig.GetValues();
            if (dungeonlist != null)
            {
                DrugToDungeonDict = new Dictionary<int, int>();
                //DrugToDungeonDict = new Dictionary<int, int>();
                DungeonToDrugDict = new Dictionary<int, int[]>();
                for (int i = 0; i < dungeonlist.Count; i++)
@@ -43,10 +46,10 @@
                    if (drugIdlist != null && drugIdlist.Length > 0)
                    {
                        DungeonToDrugDict.Add(dungeonlist[i].DataMapID, drugIdlist);
                        for (int j = 0; j < drugIdlist.Length; j++)
                        {
                            DrugToDungeonDict.Add(drugIdlist[j], dungeonlist[i].DataMapID);
                        }
                        //for (int j = 0; j < drugIdlist.Length; j++)
                        //{
                        //    DrugToDungeonDict.Add(drugIdlist[j], dungeonlist[i].DataMapID);
                        //}
                    }
                }
            }
@@ -350,6 +353,8 @@
                    {
                        refreshItemCountEvent(type, itemModel.gridIndex, itemModel.itemId);
                    }
                    UpdateLSRedpoint(type, itemModel.itemId);
                }
            }
@@ -853,7 +858,32 @@
        #region 红点逻辑判断
        const int ITEMPACK_REDKEY = 102011003;
        Redpoint redpointItemPack = new Redpoint(MainRedDot.RedPoint_BagFuncKey, ITEMPACK_REDKEY);
        Redpoint redpointItemPack = new Redpoint(MainRedDot.RedPoint_BagFuncKey, ITEMPACK_REDKEY);
        const int LS_REDKEY = 102011015;
        Redpoint redpointLS = new Redpoint(MainRedDot.RedPoint_BagFuncKey, LS_REDKEY);
        private void UpdateLSRedpoint(PackType type, int itemID)
        {
            var singlePack = GetSinglePack(type);
            if (singlePack == null)
            {
                return;
            }
            if (type != PackType.Item) return;
            if (itemID != lsItemID) return;
            if (GetItemCountByID(PackType.Item, lsItemID) < lsItemCnt)
            {
                redpointLS.state = RedPointState.None;
            }
            else
            {
                redpointLS.state = RedPointState.Simple;
            }
        }
        private void UpdatePackRedpoint(PackType type)
        {
@@ -874,6 +904,14 @@
                    else
                    {
                        redpointItemPack.state = RedPointState.None;
                    }
                    if (GetItemCountByID(PackType.Item, lsItemID) < lsItemCnt)
                    {
                        redpointLS.state = RedPointState.None;
                    }
                    else
                    {
                        redpointLS.state = RedPointState.Simple;
                    }
                    break;
                case PackType.Warehouse:
@@ -1053,7 +1091,7 @@
        public int GetDungeonIDByDrugID(int drugID)
        {
            int dungeonID = 0;
            DrugToDungeonDict.TryGetValue(drugID, out dungeonID);
            //DrugToDungeonDict.TryGetValue(drugID, out dungeonID);
            return dungeonID;
        }
System/KnapSack/New/RoleEquipWin.cs
@@ -29,6 +29,7 @@
        [SerializeField] private Text m_BindDiamond;
        [SerializeField] private Button m_EquBtn;
        [SerializeField] Button m_SpiritButton;
        [SerializeField] Button LingshiChange;
        #endregion
@@ -48,6 +49,7 @@
            m_Sort.SetListener(OnClickSortBtn);
            m_EquBtn.SetListener(OnEquBtnDown);
            m_SpiritButton.SetListener(GotoSpiritWeaponWin);
            LingshiChange.SetListener(()=>WindowCenter.Instance.Open<LingShiChange>());
        }
        protected override void OnPreOpen()
System/Login/ServerListCenter.cs
@@ -10,7 +10,7 @@
public class ServerListCenter : Singleton<ServerListCenter>
{
    public static readonly string[] JUMP_URL = new string[] { "http://pub.game.2460web.com:11000/server_list/?"
    public static readonly string[] JUMP_URL = new string[] { "http://pub.game.secondworld.net.cn:11000/server_list/?"
        ,"http://111.230.234.252:11000/server_list/?"};
    public static string SERVERLIST_URL_COMMON = "";
System/MainInterfacePanel/ChatFrame.cs
@@ -265,7 +265,7 @@
                    }
                    else
                    {
                        language = Language.Get(config.ExitDescription);
                        //language = Language.Get(config.ExitDescription);
                    }
                }
                else
@@ -273,15 +273,21 @@
                    language = Language.Get(config.ExitDescription);
                }
                ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"),
                   language, (bool isOk) =>
                    {
                        if (isOk)
                        {
                            GoToOneKeyButton();
                        }
                    }
                );
                if (language == string.Empty)
                {
                    GoToOneKeyButton();
                }
                else {
                    ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"),
                       language, (bool isOk) =>
                       {
                           if (isOk)
                           {
                               GoToOneKeyButton();
                           }
                       }
                    );
                }
            }
            else
System/MainInterfacePanel/MainInterfaceWin.cs
@@ -140,7 +140,7 @@
            IsShowTaskPanel();//是否显示任务面板
            m_MainPositionTween.ShowTaskImmedidately(true, false);
            if (MapUtility.IsDungeon(PlayerDatas.Instance.baseData.MapID))
            if (MapUtility.IsDungeon(PlayerDatas.Instance.baseData.MapID) && PlayerDatas.Instance.baseData.MapID != 31020)
            {
                m_FunctionForecastTip.gameObject.SetActive(false);
            }
@@ -509,7 +509,7 @@
        private void IsShowTaskPanel()//是否显示任务面板
        {
            var hideTask = AdventureStage.Instance.IsInAdventureStage
                || MapUtility.IsDungeon(PlayerDatas.Instance.baseData.MapID)
                || (MapUtility.IsDungeon(PlayerDatas.Instance.baseData.MapID) && PlayerDatas.Instance.baseData.MapID != 31020)
                || CrossServerUtility.IsCrossServer()
                || ClientCrossServerOneVsOne.isClientCrossServerOneVsOne;
System/MainInterfacePanel/TaskListTip.cs
@@ -476,11 +476,11 @@
            return 1;
        }
        private bool IsDungeon()//判断是否在副本中
        private bool IsDungeon()//判断是否在副本中, boss之家暂时视为同非副本
        {
            var mapId = PlayerDatas.Instance.baseData.MapID;
            var mapConfig = MapConfig.Get(mapId);
            return mapConfig != null && mapConfig.MapFBType != 0;
            return mapConfig != null && mapConfig.MapFBType != 0 && mapId != 31020;
        }
        private void TaskJump(int jumpTask = 0)
System/OpenServerActivity/AchievementActivityWin.cs
@@ -51,6 +51,7 @@
        protected override void OnPreOpen()
        {
            base.OnPreOpen();
            OperationTimeHepler.Instance.operationStartEvent += operationStartEvent;
            VerifyFunctionState();
            if (WindowCenter.Instance.IsOpen<MainInterfaceWin>())
System/OpenServerActivity/BossFirstBloodModel.cs
@@ -63,8 +63,10 @@
            }
        }
        public Int2 GetFirstNPCRedPoint()
        {
            //先找红点,没有红点则找最低级未领奖励的BOSS
            Int2 npcinfo = Int2.zero;
            int i = 0;
            foreach (var key in npcIDConfig)
@@ -79,6 +81,19 @@
                }
                i++;
            }
            i = 0;
            foreach (var key in npcIDConfig)
            {
                var npcID = int.Parse(key);
                var state = GetPersonalKillAwardState(npcID);
                if (GetPersonalKillAwardState(npcID) != 2)
                {
                    npcinfo.x = i;
                    npcinfo.y = npcID;
                    return npcinfo;
                }
                i++;
            }
            return npcinfo;
        }
System/OpenServerActivity/BossFirstBloodWin.cs
@@ -22,6 +22,7 @@
        [SerializeField] Text m_KillTime;
        [SerializeField] UIEffect m_Effect;
        [SerializeField] Button m_RedPack;
        [SerializeField] Text m_RedMoney;
        [SerializeField] RedpointBehaviour redPonint;
        BossFirstBloodModel model
@@ -298,6 +299,7 @@
            }
            // 红包状态
            var state = model.GetBossKillAwardState(npcID);
            m_RedMoney.gameObject.SetActive(false);
            if (state == 0)
            {
                m_RedPack.SetColorful(null, true);
@@ -311,6 +313,7 @@
            else if (state == 2)
            {
                m_RedPack.SetColorful(null, false);
                m_RedMoney.gameObject.SetActive(true);
                m_Effect.Stop();
            }
System/PlayerDead/PlayerDeadModel.cs
@@ -113,7 +113,7 @@
                        killerName = nPCConfig.charName;
                        npcRealmLv = nPCConfig.Realm;
                    }
                    if (bossConfig != null)
                    if (bossConfig != null || BossHomeConfig.Get(int.Parse(infolist[0].ToString())) != null)
                    {
                        localBossState = true;
                    }
@@ -165,7 +165,7 @@
        _tagMapModel = MapConfig.Get(PlayerDatas.Instance.baseData.MapID);
        rebornTiredNum = RebornConditions[0];
        rebornPrice = RebornConditions[2];
        if (_tagMapModel.MapFBType == 0)
        if (_tagMapModel.MapFBType == 0 || PlayerDatas.Instance.baseData.MapID == 31020)
        {
            IsCanReborn = true;
            //isBossKill = StatusManager.Instance.IsExist((int)playerId,20022);
System/Role/LingShiChange.cs
New file
@@ -0,0 +1,194 @@
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
namespace Snxxz.UI
{
    [XLua.Hotfix]
    public class LingShiChange : Window
    {
        // 1. 界面  2. 物品获得调整背包 3. 物品使用改兑换 4. 灵石名称和描述 5. 红点
        [SerializeField] Text Money;
        [SerializeField] Text ItemName;
        [SerializeField] Button sureBtn;
        [SerializeField] Button closeBtn;
        [SerializeField] Text m_Count;
        [SerializeField] Button m_Add;
        [SerializeField] Button m_Sub;
        [SerializeField] Button m_Max;
        [SerializeField] ItemCell m_Itemcell;
        [SerializeField] Text HaveCount;
        PackModel packModel { get { return ModelCenter.Instance.GetModel<PackModel>(); } }
        Coroutine m_Coroutine = null;
        bool isPointAdd = false;
        bool isPointSub = false;
        int point = 0;
        int m_itemId = 150;
        int m_haveCnt = 0;
        static WaitForSeconds waitSpeedSlow = new WaitForSeconds(0.2f);
        private void ShowMoney()
        {
            m_Count.text = point.ToString();
            Money.text = (int.Parse(m_Count.text) * 10).ToString();
        }
        private void ShowItem()
        {
            var Item = ItemConfig.Get(m_itemId);
            ItemCellModel cellModel = new ItemCellModel(m_itemId, true, 1);
            m_Itemcell.Init(cellModel);
            ItemName.text = Item.ItemName;
        }
        private void UseItem()
        {
            var itemModels = packModel.GetItemsById(PackType.Item, m_itemId);
            if (itemModels != null && itemModels.Count > 0 && point > 0)
            {
                ItemOperateUtility.Instance.UseItem(itemModels[0].guid, point);
            }
            CloseClick();
        }
        private void ShowItemCount()
        {
            m_haveCnt = packModel.GetItemCountByID(PackType.Item, m_itemId);
            HaveCount.text = "拥有数量:" + UIHelper.AppendColor(m_haveCnt == 0 ? TextColType.Red : TextColType.Green, m_haveCnt.ToString(), true);
            //SetColorful
            m_Add.SetInteractable(null, m_haveCnt > 0);
            m_Sub.SetInteractable(null, m_haveCnt > 0);
            m_Max.SetInteractable(null, m_haveCnt > 0);
        }
        #region Built-in
        protected override void BindController()
        {
        }
        protected override void AddListeners()
        {
            sureBtn.AddListener(UseItem);
            closeBtn.AddListener(CloseClick);
        }
        protected override void OnPreOpen()
        {
            packModel.refreshItemCountEvent += OnItemCountRefresh;
            UIEventTrigger.Get(m_Sub.gameObject).OnDown = OnSubDown;
            UIEventTrigger.Get(m_Sub.gameObject).OnUp = OnSubUp;
            UIEventTrigger.Get(m_Add.gameObject).OnDown = OnAddDown;
            UIEventTrigger.Get(m_Add.gameObject).OnUp = OnAddUp;
            m_Max.AddListener(OnMax);
            point = packModel.GetItemCountByID(PackType.Item, m_itemId);
            ShowItem();
            ShowItemCount();
            ShowMoney();
        }
        protected override void OnAfterOpen()
        {
        }
        protected override void OnPreClose()
        {
            point = 0;
            packModel.refreshItemCountEvent -= OnItemCountRefresh;
        }
        protected override void OnAfterClose()
        {
        }
        #endregion
        private void OnItemCountRefresh(PackType type, int index, int itemId)
        {
            if (type == PackType.Item && itemId == m_itemId)
            {
                ShowItemCount();
            }
        }
        public void Dispose()
        {
            if (m_Coroutine != null)
            {
                StopCoroutine(m_Coroutine);
            }
            isPointAdd = false;
            isPointSub = false;
        }
        private void OnAddDown(GameObject go)
        {
            isPointAdd = true;
            if (m_Coroutine != null)
            {
                StopCoroutine(m_Coroutine);
            }
            m_Coroutine = StartCoroutine(Co_PointRefresh(true));
        }
        private void OnAddUp(GameObject go)
        {
            isPointAdd = false;
            if (m_Coroutine != null)
            {
                StopCoroutine(m_Coroutine);
            }
        }
        private void OnSubDown(GameObject go)
        {
            if (m_Coroutine != null)
            {
                StopCoroutine(m_Coroutine);
            }
            isPointSub = true;
            m_Coroutine = StartCoroutine(Co_PointRefresh(false));
        }
        private void OnSubUp(GameObject go)
        {
            isPointSub = false;
            if (m_Coroutine != null)
            {
                StopCoroutine(m_Coroutine);
            }
        }
        private void OnMax()
        {
            point = m_haveCnt;
            ShowMoney();
        }
        IEnumerator Co_PointRefresh(bool pointUp)
        {
            while (pointUp ? isPointAdd : isPointSub)
            {
                if (pointUp && m_haveCnt > 0 && point < m_haveCnt)
                {
                    point += 1;
                }
                else if (!pointUp && point > 0)
                {
                    point -= 1;
                }
                ShowMoney();
                yield return waitSpeedSlow;
            }
        }
    }
}
System/Role/LingShiChange.cs.meta
New file
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 4d6f949ee165f1e47890b3f95a60f3ab
timeCreated: 1573120326
licenseType: Pro
MonoImporter:
  serializedVersion: 2
  defaultReferences: []
  executionOrder: 0
  icon: {instanceID: 0}
  userData:
  assetBundleName:
  assetBundleVariant:
System/SystemSetting/SystemSetting.cs
@@ -67,7 +67,7 @@
    public GameFps GetGameFps()
    {
        return (GameFps)LocalSave.GetInt(GAMEFRAME_KEY, (int)GameFps.Half);
        return (GameFps)LocalSave.GetInt(GAMEFRAME_KEY, (int)GameFps.Full);
    }
    public void SetSystemSettingSwitch(SystemSwitch type, bool _value)
System/Vip/FirstTimeRechargeModel.cs
@@ -45,7 +45,22 @@
            TryOutDic.Clear();
            TryOutDic = ConfigParse.GetDic<int, int>(FirstGoldTryItem.Numerical1);
            TryOutLv = int.Parse(FirstGoldTryItem.Numerical4);
        }
        private void PlayerDataRefreshEvent(PlayerDataType dataType)
        {
            if (dataType != PlayerDataType.LV)
                return;
            if (PlayerDatas.Instance.baseData.LV > 150)
                return;
            if (PlayerDatas.Instance.baseData.LV % 30 == 0)
                //到达等级强制再显示一次
                IsShowOnce = false;
        }
        public override void UnInit()
        {
@@ -79,7 +94,8 @@
            {
                LocalSave.SetBool("FirstTimeRechargeBool", true);
            }
            PlayerDatas.Instance.playerDataRefreshEvent -= PlayerDataRefreshEvent;
            PlayerDatas.Instance.playerDataRefreshEvent += PlayerDataRefreshEvent;
            GlobalTimeEvent.Instance.secondEvent -= secondEvent;
            GlobalTimeEvent.Instance.secondEvent += secondEvent;
            WindowCenter.Instance.windowBeforeCloseEvent -= windowBeforeClose;
System/WorldMap/MapModel.cs
@@ -106,7 +106,7 @@
            }
            var currentMapConfig = MapConfig.Get(PlayerDatas.Instance.baseData.MapID);
            if (currentMapConfig.MapFBType != 0)
            if (currentMapConfig.MapFBType != 0 && PlayerDatas.Instance.baseData.MapID != 31020)
            {
                SysNotifyMgr.Instance.ShowTip("DungeonNoGO");
                return;
Utility/EnumHelper.cs
@@ -1504,6 +1504,7 @@
    inlay, //镶嵌
    train,//洗炼
    star,//升星
    lsExchange, //灵石兑换
}
[XLua.LuaCallCSharp]
Utility/OperationLogCollect.cs
@@ -9,7 +9,7 @@
public class OperationLogCollect : Singleton<OperationLogCollect>
{
    const string url = "http://pub.game.2460web.com:11000/event_receiver?";
    const string url = "http://pub.game.secondworld.net.cn:11000/event_receiver?";
    public void RecordLauchEvent(int _step)
    {
@@ -107,7 +107,7 @@
    }
    const string bugReportUrl = "http://pub.game.2460web.com:11000/event_receiver?";
    const string bugReportUrl = "http://pub.game.secondworld.net.cn:11000/event_receiver?";
    public void BugReport(string _title, string _content)
    {