525 子 【挑战】PVP群英榜 / 【挑战】PVP群英榜-前端 - 挑战位是自己的按实时数据显示(除了排名)
1个文件已修改
23 ■■■■ 已修改文件
Main/System/Qunying/QYFighterCell.cs 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/Qunying/QYFighterCell.cs
@@ -120,7 +120,7 @@
            matchInfo = list[index];
        }
        nameText.text = UIHelper.ServerStringTrim(matchInfo.PlayerName);
        if (GeneralDefine.IsRobot((int)matchInfo.PlayerID))
        {
@@ -131,9 +131,8 @@
            serverText.text = ServerListCenter.Instance.GetServerName((int)matchInfo.ServerID);
        }
        fightPowerText.text = UIHelper.ReplaceLargeArtNum(matchInfo.FightPower);
        officialTitleCell.InitUI(matchInfo.RealmLV, (int)matchInfo.TitleID);
        int heroSkinID = 0;
        if (matchInfo.ModelMark == 0)
        {
@@ -143,7 +142,25 @@
        {
            heroSkinID = PhantasmPavilionManager.Instance.GetModelSkinID((int)matchInfo.ModelMark);
        }
        if (matchInfo.PlayerID == PlayerDatas.Instance.baseData.PlayerID)
        {
            fightPowerText.text = UIHelper.ReplaceLargeArtNum(PlayerDatas.Instance.baseData.FightPower);
            nameText.text = UIHelper.ServerStringTrim(PlayerDatas.Instance.baseData.PlayerName);
            var skinConfig = HorseSkinConfig.Get(HorseManager.Instance.GetUsingHorseSkinID());
            model.Create(skinConfig.SkinID, PhantasmPavilionManager.Instance.GetMyModelSkinID(), 0.9f);
            officialTitleCell.InitUI(PlayerDatas.Instance.baseData.realmLevel, PlayerDatas.Instance.baseData.TitleID);
        }
        else
        {
            fightPowerText.text = UIHelper.ReplaceLargeArtNum(matchInfo.FightPower);
            nameText.text = UIHelper.ServerStringTrim(matchInfo.PlayerName);
        model.Create((int)matchInfo.EquipShowSwitch % 1000, heroSkinID, 0.9f);
            officialTitleCell.InitUI(matchInfo.RealmLV, (int)matchInfo.TitleID);
        }
        rankText.text = matchInfo.Rank > 0 ? $"{matchInfo.Rank}" : Language.Get("L1125");
        myMark.SetActive(matchInfo.PlayerID == PlayerDatas.Instance.baseData.PlayerID);