少年修仙传客户端代码仓库
hch
2024-09-05 43eea3dbf8570e6fbdc1df7bb9725f9762a8b256
10240 【越南】【砍树】古宝养成 - 同步秘境排行榜
1个文件已修改
20 ■■■■ 已修改文件
System/RankAction/SecretPlaceRankCell.cs 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/RankAction/SecretPlaceRankCell.cs
@@ -68,14 +68,22 @@
            }
            else
            {
                int needScoreEx = 0;
                Dictionary<int, ActBillboardAwards> rankAwardInfo = model.operationCrossAct.rankInfo;
                var dataIndex = model.GetRankDataIndex(index, rankAwardInfo);
                if (rankAwardInfo.ContainsKey(dataIndex))
                    needScoreEx = rankAwardInfo[dataIndex].needScore;
                if (model.SelectRank == 1)
                {
                    int needScoreEx = 0;
                    Dictionary<int, ActBillboardAwards> rankAwardInfo = model.operationCrossAct.rankInfo;
                    var dataIndex = model.GetRankDataIndex(index, rankAwardInfo);
                    if (rankAwardInfo.ContainsKey(dataIndex))
                        needScoreEx = rankAwardInfo[dataIndex].needScore;
                    numText.text = needScoreEx == 0 ? "0" : Language.Get("RankInfo4") + needScoreEx;
                }
                else
                {
                    numText.text = "0";
                }
                nameText.text = Language.Get("L1046");
                numText.text = needScoreEx == 0 ? "0" : Language.Get("RankInfo2") + needScoreEx;
                headIcon.SetPlayerHeadIcon(1); //默认头像
                serverNameText.text = string.Empty;
            }