| | |
| | | matchInfo = list[index]; |
| | | } |
| | | |
| | | nameText.text = UIHelper.ServerStringTrim(matchInfo.PlayerName); |
| | | |
| | | |
| | | if (GeneralDefine.IsRobot((int)matchInfo.PlayerID)) |
| | | { |
| | |
| | | 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) |
| | | { |
| | |
| | | { |
| | | heroSkinID = PhantasmPavilionManager.Instance.GetModelSkinID((int)matchInfo.ModelMark); |
| | | } |
| | | model.Create((int)matchInfo.EquipShowSwitch % 1000, heroSkinID, 0.9f); |
| | | |
| | | 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); |
| | | |