| | |
| | | public class CelestialPalaceNameListCell : CellView
|
| | | {
|
| | | [SerializeField] ImageEx imgHead;
|
| | | [SerializeField] ImageEx imgTitle;
|
| | | [SerializeField] Image imgRealm;
|
| | | [SerializeField] TextEx txtNum;
|
| | | [SerializeField] TextEx txtDate;
|
| | |
| | | CelestialPalacePlayer celestialPalacePlayer = xgPlayerList[index];
|
| | | imgHead.SetSprite(UIHelper.GetHeadIcon((int)celestialPalacePlayer.Job));
|
| | | int titleId = XiangongConfig.Get(nowXGId).TitleID;
|
| | | model.ShowTitle(titleId, imgTitle);
|
| | | string serverName = ServerListCenter.Instance.GetServerName((int)celestialPalacePlayer.ServerID);
|
| | | txtServerName.text = serverName;
|
| | | int realmLV = celestialPalacePlayer.RealmLV;
|