using System; using KKSG; using XUtliPoolLib; namespace XMainClient { public class XBigMeleeRankInfo : XBaseRankInfo { public string serverName; public uint profession; public uint kill; public void ProcessData(MayhemRankInfo info) { this.id = info.roleid; this.value = (ulong)info.point; this.name = info.name; this.serverName = info.svrname; this.profession = info.pro; this.kill = info.killcount; } public void InitMyData() { this.id = XSingleton.singleton.XPlayerData.RoleID; this.value = 0UL; this.name = XSingleton.singleton.XPlayerData.Name; this.serverName = XSingleton.singleton.Server; this.profession = (uint)XFastEnumIntEqualityComparer.ToInt(XSingleton.singleton.XPlayerData.Profession); this.kill = 0u; } } }