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

namespace XMainClient
{
	public class XSpriteRankInfo : 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.startType = data.starttype;
		}
	}
}