少年修仙传客户端代码仓库
client_Wu Xijin
2019-04-08 c7c25a14daeb7ea339e1b3ce2785e3bf726e0a97
3335 代码整理
20个文件已修改
67 ■■■■■ 已修改文件
Lua/Gen/SnxxzUIItemTipsModelWrap.cs 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/DailyQuest/DailyQuestHangTimeBehaviour.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Dogz/DogzEquip.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Dogz/DogzItemCell.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Dungeon/TrialExchangeBehaviour.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Equip/CandidateEquipBehaviour.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Equip/EquipSlotBehaviour.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipGem/EquipGemWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipGem/EquipStrengthFull.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipGem/EquipStrengthRein.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipGem/EquipStrengthUpper.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipStar/EquipStarWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/BetterItemGetBehaviour.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/ItemTipsModel.cs 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/New/BagWin.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/New/DepotWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/New/EquipPlaceCell.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/OffLineTime/OffLineTimeLackBehaviour.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Store/StoreModel.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/TreasureFindHost/ReciveConditionCell.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Lua/Gen/SnxxzUIItemTipsModelWrap.cs
@@ -414,7 +414,7 @@
                
                {
                    
                    gen_to_be_invoked.ShowUICtrl(  );
                    gen_to_be_invoked.ShowTip(  );
                    
                    
                    
@@ -599,10 +599,7 @@
            try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
                {
                    
                    return 0;
System/DailyQuest/DailyQuestHangTimeBehaviour.cs
@@ -68,7 +68,7 @@
                itemTipsModel.SetItemTipsModel(PackType.Item, itemModel.guid, false, true);
                itemTipsModel.SetBagTipsBtn(itemTipsModel.curAttrData);
                itemTipsModel.ShowUICtrl();
                itemTipsModel.ShowTip();
            }
            else
            {
System/Dogz/DogzEquip.cs
@@ -34,7 +34,7 @@
            {
                tipsModel.SetItemTipsModel(model.packType,model.guid,false,false);
                tipsModel.SetDogzEquipBtn(tipsModel.curAttrData);
                tipsModel.ShowUICtrl();
                tipsModel.ShowTip();
            });
        }
    }
System/Dogz/DogzItemCell.cs
@@ -55,7 +55,7 @@
            {
                tipsModel.SetItemTipsModel(model.packType, model.guid, false, true);
                tipsModel.SetDogzItemBtn(tipsModel.curAttrData);
                tipsModel.ShowUICtrl();
                tipsModel.ShowTip();
            });
        }
    }
System/Dungeon/TrialExchangeBehaviour.cs
@@ -58,7 +58,7 @@
                             }
                         }
                     });
                    ModelCenter.Instance.GetModel<ItemTipsModel>().ShowUICtrl();
                    ModelCenter.Instance.GetModel<ItemTipsModel>().ShowTip();
                }
            }
        }
System/Equip/CandidateEquipBehaviour.cs
@@ -78,7 +78,7 @@
            var equip = packModel.GetItemByGuid(this.candidateEquip.guid);
            tipModel.SetItemTipsModel(PackType.Item, equip.guid, false, true);
            tipModel.SetBagTipsBtn(tipModel.curAttrData);
            tipModel.ShowUICtrl();
            tipModel.ShowTip();
            if (this.candidateEquip.selected.value)
            {
System/Equip/EquipSlotBehaviour.cs
@@ -127,7 +127,7 @@
                {
                    tipModel.SetItemTipsModel(PackType.Equip, slot.equip.value, false);
                    tipModel.SetPutOnTipsBtn(tipModel.curAttrData);
                    tipModel.ShowUICtrl();
                    tipModel.ShowTip();
                }
                else if (model.HasSamePlaceCandidateEquip(slot.equipPosition))
                {
System/EquipGem/EquipGemWin.cs
@@ -240,7 +240,7 @@
                {
                    var itemTipsModel = ModelCenter.Instance.GetModel<ItemTipsModel>();
                    itemTipsModel.SetItemTipsModel(PackType.Item, equipGuid, false, true);
                    itemTipsModel.ShowUICtrl();
                    itemTipsModel.ShowTip();
                });
                var maxStar = EquipStarModel.GetMaxStarLevel(equip.config.ItemColor, equip.config.LV);
System/EquipGem/EquipStrengthFull.cs
@@ -57,7 +57,7 @@
                m_ItemEquip.button.SetListener(() =>
                {
                    itemTipsModel.SetItemTipsModel(PackType.Item, equipGuid, false, true);
                    itemTipsModel.ShowUICtrl();
                    itemTipsModel.ShowTip();
                });
            }
            var equipLvNowList = strengthModel.GetEquipValueList(level, equipPlace);
System/EquipGem/EquipStrengthRein.cs
@@ -56,7 +56,7 @@
                m_ItemEquip.button.SetListener(() =>
                {
                    itemTipsModel.SetItemTipsModel(PackType.Item, equipGuid, false, true);
                    itemTipsModel.ShowUICtrl();
                    itemTipsModel.ShowTip();
                });
            }
            m_TextNumber.text = "+" + (equipLv + 1);
System/EquipGem/EquipStrengthUpper.cs
@@ -57,7 +57,7 @@
                m_ItemEquip.button.SetListener(() =>
                {
                    itemTipsModel.SetItemTipsModel(PackType.Item, equipGuid, false, true);
                    itemTipsModel.ShowUICtrl();
                    itemTipsModel.ShowTip();
                });
            }
System/EquipStar/EquipStarWin.cs
@@ -436,7 +436,7 @@
            var itemTipsModel = ModelCenter.Instance.GetModel<ItemTipsModel>();
            itemTipsModel.SetItemTipsModel(PackType.Item, equipGuid, false, true);
            itemTipsModel.ShowUICtrl();
            itemTipsModel.ShowTip();
        }
        [System.Serializable]
System/KnapSack/BetterItemGetBehaviour.cs
@@ -165,7 +165,7 @@
            itemTipsModel.SetItemTipsModel(PackType.Item, _guid, false, true);
            itemTipsModel.SetBagTipsBtn(itemTipsModel.curAttrData);
            itemTipsModel.ShowUICtrl();
            itemTipsModel.ShowTip();
            model.ReportConfirmBetterEquip(model.currentEquipGuid);
        }
System/KnapSack/Logic/ItemTipsModel.cs
@@ -24,7 +24,6 @@
        string expValueFormula = "";
        Dictionary<int, string> exhaustedAttrFormula { get; set; }
        Dictionary<int, int> exhaustedMaxLvDict { get; set; }
        int[] guardAutoDrops;
        public int[] gemOpenLvs { get; private set; }
        public int[] jadeDynastyGemOpenLvs { get; private set; }
@@ -81,8 +80,6 @@
            guardDesDict = new Dictionary<int, List<string>>();
            FuncConfigConfig guardDesFunc = FuncConfigConfig.Get("GuardianTips");
            FuncConfigConfig guardAutoDropFunc = FuncConfigConfig.Get("GuardianPickUpID");
            guardAutoDrops = ConfigParse.GetMultipleStr<int>(guardAutoDropFunc.Numerical1);
            JsonData guardDesData = JsonMapper.ToObject(guardDesFunc.Numerical1);
            foreach (var key in guardDesData.Keys)
            {
@@ -289,7 +286,7 @@
            if (isShowUINow)
            {
                ShowUICtrl();
                ShowTip();
            }
        }
@@ -320,7 +317,7 @@
            if (isShowUINow)
            {
                ShowUICtrl();
                ShowTip();
            }
        }
@@ -361,7 +358,7 @@
              , type, itemModel.guid, ConfigParse.Analysis(itemModel.itemInfo.userData));
        }
        public void ShowUICtrl()
        public void ShowTip()
        {
            if (curAttrData == null) return;
@@ -462,7 +459,6 @@
        string jobName = "";
        public string GetEquipJobName(ItemAttrData attrData)
        {
            jobName = "";
            if (attrData == null) return jobName;
@@ -483,15 +479,8 @@
        {
            if (attrData.itemConfig.JobLimit != 0)
            {
                JobNameConfig jobNameConfig = JobNameConfig.Get(attrData.itemConfig.JobLimit);
                if (playerJob >= equipJob)
                {
                    jobName = UIHelper.AppendColor(TextColType.White, jobNameConfig.name);
                }
                else
                {
                    jobName = UIHelper.AppendColor(TextColType.Red, jobNameConfig.name);
                }
                var config = JobNameConfig.Get(attrData.itemConfig.JobLimit);
                jobName = UIHelper.AppendColor(playerJob >= equipJob ? TextColType.White : TextColType.Red, config.name);
            }
            else
            {
@@ -1767,8 +1756,6 @@
        public bool isHavePutLimit { get; private set; }
        ItemTipsModel itemTipsModel { get { return ModelCenter.Instance.GetModel<ItemTipsModel>(); } }
        RuneModel runeModel { get { return ModelCenter.Instance.GetModel<RuneModel>(); } }
        GodBeastModel beastModel { get { return ModelCenter.Instance.GetModel<GodBeastModel>(); } }
        public ItemAttrData(int id, bool isPreview = false, ulong count = 0, int index = -1, bool isCompare = false, PackType type = PackType.Deleted, string guid = "", Dictionary<int, List<int>> useDataDict = null, ItemTipChildType childType = ItemTipChildType.Normal)
@@ -2019,7 +2006,6 @@
            {
                exhaustedMaxDataDict.Add(ids[i], values[i]);
            }
        }
        //设置弹框的宝石数据
System/KnapSack/New/BagWin.cs
@@ -253,7 +253,7 @@
                        gridCell.itemCellBtn.onceClick = (int info) =>
                        {
                            itemTipsModel.SetItemTipsModel(PackType.Item, itemModel.guid, false, true);
                            itemTipsModel.ShowUICtrl();
                            itemTipsModel.ShowTip();
                        };
                        gridCell.itemCellBtn.doubleClick = () =>
                          {
@@ -267,7 +267,7 @@
                        {
                            itemTipsModel.SetItemTipsModel(PackType.Item, itemModel.guid, false, true);
                            itemTipsModel.SetBagTipsBtn(itemTipsModel.curAttrData);
                            itemTipsModel.ShowUICtrl();
                            itemTipsModel.ShowTip();
                        };
                    }
System/KnapSack/New/DepotWin.cs
@@ -184,7 +184,7 @@
                    gridCell.itemCellBtn.onceClick = (int info) =>
                      {
                          itemTipsModel.SetItemTipsModel(PackType.Warehouse, itemModel.guid, false, true);
                          itemTipsModel.ShowUICtrl();
                          itemTipsModel.ShowTip();
                      };
                    gridCell.itemCellBtn.doubleClick = () =>
                    {
System/KnapSack/New/EquipPlaceCell.cs
@@ -74,7 +74,7 @@
            tipModel.SetItemTipsModel(PackType.Equip, item.guid, false);
            tipModel.SetPutOnTipsBtn(tipModel.curAttrData);
            tipModel.ShowUICtrl();
            tipModel.ShowTip();
        }
    }
System/OffLineTime/OffLineTimeLackBehaviour.cs
@@ -45,7 +45,7 @@
                itemTipsModel.SetItemTipsModel(PackType.Item, itemModel.guid, false, true);
                itemTipsModel.SetBagTipsBtn(itemTipsModel.curAttrData);
                itemTipsModel.ShowUICtrl();
                itemTipsModel.ShowTip();
            }
            else
            {
System/Store/StoreModel.cs
@@ -926,7 +926,7 @@
            , "", null, ItemTipChildType.Buy);
        itemTipsModel.SetItemTipsModel(attrData, false);
        attrData.SetTipsFuncBtn(ItemOperateType.buy, (ItemOperateType type, string id) => { OnClickBuyBtn(ItemOperateType.buy, shopInfo.ID); });
        itemTipsModel.ShowUICtrl();
        itemTipsModel.ShowTip();
    }
    public int BuyCnt { get; private set; }
System/TreasureFindHost/ReciveConditionCell.cs
@@ -123,7 +123,7 @@
                        tipsModel.SetItemTipsModel(attrData, false);
                        if (tipsModel.compareAttrData != null)
                        {
                            tipsModel.ShowUICtrl();
                            tipsModel.ShowTip();
                        }
                        else
                        {