| | |
| | | [SerializeField] Text lvText; |
| | | [SerializeField] GameObject lvIcon; |
| | | [SerializeField] Image realmIcon; |
| | | [SerializeField] Image playerIcon; |
| | | [SerializeField] AvatarCell avatarCell;
|
| | | [SerializeField] public Button addBtn; |
| | | |
| | | int playerId = 0; |
| | |
| | | if (friendPlayer == null) return; |
| | | |
| | | nameText.text = friendPlayer.PlayerName; |
| | | playerIcon.SetSprite(GeneralDefine.GetOtherJobHeadPortrait(friendPlayer.Job, 0)); |
| | | avatarCell.InitUI(AvatarHelper.GetAvatarModel((int)friendPlayer.PlayerID, friendPlayer.Face, friendPlayer.FacePic, friendPlayer.Job)); |
| | | int nirvanaLv = friendPlayer.LV - friendsModel.OpenGreatLV; |
| | | |
| | | if (nirvanaLv > 0) |