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

namespace XMainClient
{
	public class XPetRankInfo : XBaseRankInfo
	{
		public uint petID;

		public ulong petUID;

		public override void ProcessData(RankData data)
		{
			this.name = data.RoleName;
			this.formatname = XBaseRankInfo.GetUnderLineName(this.name);
			this.id = data.RoleId;
			this.rank = data.Rank;
			this.value = (ulong)data.powerpoint;
			this.petID = data.petid;
			this.petUID = data.petuid;
		}
	}
}