| using System.Collections; | 
| using System.Collections.Generic; | 
| using UnityEngine; | 
| using UnityEngine.UI; | 
|   | 
| /// <summary> | 
| /// 捐赠成员详情 | 
| /// </summary> | 
| public class GuildDonateDetailCell : CellView | 
| { | 
|      | 
|     [SerializeField] AvatarCell avatarCell; | 
|     [SerializeField] OfficialTitleCell titleCell; | 
|     [SerializeField] Text lvText; | 
|     [SerializeField] Text nameText; | 
|     [SerializeField] Text donateTodayCntText; | 
|     [SerializeField] Text totalDonateCntText; | 
|   | 
|   | 
|   | 
|     public void Display(int index) | 
|     { | 
|         var playerID = PlayerDatas.Instance.fairyData.memberIDList[index]; | 
|         var playerInfo = PlayerDatas.Instance.fairyData.GetMember(playerID); | 
|         nameText.text = playerInfo.Name; | 
|   | 
|         avatarCell.InitUI(AvatarHelper.GetAvatarModel(0, playerInfo.Face, playerInfo.FacePic)); | 
|         titleCell.InitUI(playerInfo.RealmLV, playerInfo.TitleID); | 
|         lvText.text = playerInfo.LV.ToString(); | 
|   | 
|   | 
|   | 
|     } | 
|   | 
| } |