少年修仙传客户端代码仓库
6567 子 【2.0】【开发】强化、镶嵌、洗炼、升星排序规则、红点规则、选中规则 / 【2.0】【前端】强化、镶嵌、洗炼、升星排序规则、红点规则、选中规则
2个文件已修改
20 ■■■■■ 已修改文件
System/EquipGem/EquipGemWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipGem/EquipStrengthWin.cs 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipGem/EquipGemWin.cs
@@ -226,10 +226,10 @@
                    var slotCount = model.GetUnlockEquipSlotCount(level);
                    if (slotCount > 0)
                    {
                        m_Sorts.Clear();
                        m_Controller.AddCell(ScrollerDataType.Header, level);
                        if (model.selectLevel == level)
                        {
                            m_Sorts.Clear();
                            m_Sorts.AddRange(model.GetMosaicEquipPlaces());
                            m_Sorts.Sort(EquipCompare);
                            foreach (var place in m_Sorts)
System/EquipGem/EquipStrengthWin.cs
@@ -221,10 +221,10 @@
                }
                if (equipSet.unLocked)
                {
                    m_Sorts.Clear();
                    m_Controller.AddCell(ScrollerDataType.Header, level);
                    if (model.SelectLevel == level)
                    {
                        m_Sorts.Clear();
                        m_Sorts.AddRange(model.equipPlaces);
                        m_Sorts.Sort(EquipCompare);
                        foreach (var place in m_Sorts)
@@ -364,6 +364,22 @@
            }
            var equipSets = equipModel.GetAllEquipSets();
            foreach (var equipSet in equipSets)
            {
                var places = model.equipPlaces;
                foreach (var place in places)
                {
                    EquipStrengthModel.EquipStrengthRedpoint redpoint;
                    if (model.TryGetRedpoint(equipSet, place, out redpoint)
                        && redpoint.redpoint.state == RedPointState.Simple)
                    {
                        model.SelectLevel = equipSet;
                        model.SelectEquipPlace = place;
                        return;
                    }
                }
            }
            foreach (var level in equipSets)
            {
                var equipSet = equipModel.GetEquipSet(level);