summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XPPTRankInfo.cs
blob: e9feccd0d33ac12b086265e0ec72038724555740 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;
using KKSG;

namespace XMainClient
{
	public class XPPTRankInfo : XBaseRankInfo
	{
		public override void ProcessData(RankData data)
		{
			this.name = data.RoleName;
			this.formatname = XTitleDocument.GetTitleWithFormat(data.titleID, XBaseRankInfo.GetUnderLineName(this.name));
			this.id = data.RoleId;
			this.rank = data.Rank;
			this.value = (ulong)data.powerpoint;
			this.guildicon = data.guildicon;
			this.guildname = data.guildname;
			this.startType = data.starttype;
		}
	}
}