少年修仙传客户端代码仓库
client_linchunjie
2019-07-04 e30553cc25cdd11815fd30dbfaeb94eb12ad8fc8
3335 去掉旧合成红点逻辑
1个文件已修改
36 ■■■■■ 已修改文件
System/Compose/New/ComposeWinModel.cs 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Compose/New/ComposeWinModel.cs
@@ -1210,42 +1210,6 @@
            return;
        }
        {
            var firstType = (int)ComposeFuncType.Item;
            ComposeSecondTypeData secondTypeData = null;
            TryGetSecondTypeData(firstType, 3, out secondTypeData);
            if (secondTypeData != null)
            {
                var thirdTypeDict = secondTypeData.thirdTypeDict;
                foreach (var third in thirdTypeDict.Keys)
                {
                    List<ComposeThirdTypeData> thirdTypeDatas = thirdTypeDict[third];
                    for (int i = 0; i < thirdTypeDatas.Count; i++)
                    {
                        var itemCompound = thirdTypeDatas[i].itemCompound;
                        int makeID = itemCompound.makeID[0];
                        var secondKey = firstType * 100 + 3;
                        string key = (secondKey * 100 + third).ToString();
                        if (IsEnoughFixedMat(itemCompound))
                        {
                            if (thirdTypeRedDict[key].state != RedPointState.Simple)
                            {
                                thirdTypeRedDict[key].state = RedPointState.Simple;
                            }
                        }
                        else
                        {
                            if (thirdTypeRedDict[key].state != RedPointState.None)
                            {
                                thirdTypeRedDict[key].state = RedPointState.None;
                            }
                        }
                    }
                }
            }
        }
        foreach (var category in composeRedpointCategories)
        {
            ComposeSecondTypeData secondTypeData = null;