blob: 31036cd5fff8719cb034536e409e90f9c698f9ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
using System;
using KKSG;
using XMainClient.UI;
using XUtliPoolLib;
namespace XMainClient
{
public class XGuildDragonGuildRoleRankInfo : XBaseRankInfo
{
public uint time;
private string _value;
public override void ProcessData(RankData data)
{
this.name = data.RoleName;
this.formatname = XTitleDocument.GetTitleWithFormat(data.titleID, data.RoleName);
this.id = data.RoleId;
this.rank = data.Rank;
this.value = (ulong)data.damage;
this.time = data.time;
bool flag = this.time == uint.MaxValue;
if (flag)
{
this._value = XStringDefineProxy.GetString("RANK_DAMAGE", new object[]
{
XSingleton<UiUtility>.singleton.NumberFormat(this.value)
});
}
else
{
this._value = XStringDefineProxy.GetString("RANK_KILL", new object[]
{
XSingleton<UiUtility>.singleton.TimeDuarationFormatString((int)this.time, 5)
});
}
}
public override string GetValue()
{
return this._value;
}
}
}
|