blob: 17b2ddfdfe5b800e7dbf4a46b45487c0c1ab5b95 (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
using System;
using System.Collections.Generic;
using KKSG;
using XMainClient.UI;
using XUtliPoolLib;
namespace XMainClient
{
internal class FirstPassRankInfo
{
public List<FirstPassInfoData> InfoDataList
{
get
{
return this.m_infoDataList;
}
}
public uint PassTime
{
get
{
return this.m_passTime;
}
}
public uint UseTime
{
get
{
return this.m_useTime;
}
}
public string PassTimeStr
{
get
{
return this.m_passTimeStr;
}
}
public uint StarNum
{
get
{
return this.m_starNum;
}
}
private List<FirstPassInfoData> m_infoDataList;
private uint m_passTime = 0u;
private string m_passTimeStr = string.Empty;
private uint m_starNum = 0u;
private uint m_useTime;
public FirstPassRankInfo(RankData info, bool isFirstPassRank)
{
this.m_infoDataList = new List<FirstPassInfoData>();
for (int i = 0; i < info.RoleNames.Count; i++)
{
FirstPassInfoData item = new FirstPassInfoData(info.RoleIds[i], info.RoleNames[i], info.titleIDs[i], isFirstPassRank);
this.m_infoDataList.Add(item);
}
this.m_passTime = info.time;
this.m_starNum = info.starlevel + 1u;
this.m_useTime = info.usetime;
if (isFirstPassRank)
{
this.m_passTimeStr = XSingleton<UiUtility>.singleton.TimeFormatSince1970((int)info.time, XStringDefineProxy.GetString("TimeFormate"), true);
}
else
{
this.m_passTimeStr = XSingleton<UiUtility>.singleton.TimeDuarationFormatString((int)info.usetime, 5);
}
}
}
}
|