summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XChickenDinnerRankInfo.cs
blob: 3049beeac2578ca96588d18342c47135a213ee64 (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;
using XUtliPoolLib;

namespace XMainClient
{
	public class XChickenDinnerRankInfo : XBaseRankInfo
	{
		public void ProcessData(MayhemRankInfo info)
		{
			this.id = info.roleid;
			this.value = (ulong)info.point;
			this.name = info.name;
		}

		public void InitMyData()
		{
			this.id = XSingleton<XAttributeMgr>.singleton.XPlayerData.RoleID;
			this.value = 0UL;
			this.name = XSingleton<XAttributeMgr>.singleton.XPlayerData.Name;
		}
	}
}