| | |
| | | fightPowerText.text = UIHelper.ReplaceLargeArtNum(matchInfo.FightPower); |
| | | |
| | | officialTitleCell.InitUI(matchInfo.RealmLV, (int)matchInfo.TitleID); |
| | | int modelMark = (int)matchInfo.ModelMark; |
| | | if (modelMark == 0) |
| | | int heroSkinID = 0; |
| | | if (matchInfo.ModelMark == 0) |
| | | { |
| | | modelMark = QunyingManager.Instance.robotModelIDs[matchInfo.PlayerID % QunyingManager.Instance.robotModelIDs.Length]; |
| | | heroSkinID = QunyingManager.Instance.robotModelIDs[matchInfo.PlayerID % QunyingManager.Instance.robotModelIDs.Length]; |
| | | } |
| | | model.Create((int)matchInfo.EquipShowSwitch % 1000, modelMark, 0.9f); |
| | | else |
| | | { |
| | | heroSkinID = PhantasmPavilionManager.Instance.GetModelSkinID((int)matchInfo.ModelMark); |
| | | } |
| | | model.Create((int)matchInfo.EquipShowSwitch % 1000, heroSkinID, 0.9f); |
| | | rankText.text = matchInfo.Rank > 0 ? $"{matchInfo.Rank}" : Language.Get("L1125"); |
| | | myMark.SetActive(matchInfo.PlayerID == PlayerDatas.Instance.baseData.PlayerID); |
| | | |