Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
ContentStatistics.cs
Go to the documentation of this file.
1
public
class
ContentStatistics
:
EContent
2
{
3
public
UIList
list1
;
4
5
public
UIList
list2
;
6
7
public
override
void
OnSwitchContent
(
int
idTab)
8
{
9
NumLogManager
nums =
EClass
.
player
.
nums
;
10
list1.callbacks =
new
UIList
.
Callback
<
NumLog
,
ItemNumLog
>
11
{
12
onInstantiate = delegate(
NumLog
a,
ItemNumLog
b)
13
{
14
b.
SetLog
(a);
15
}
16
};
17
list2.callbacks =
new
UIList
.
Callback
<
NumLog
,
ItemNumLog
>
18
{
19
onInstantiate = delegate(
NumLog
a,
ItemNumLog
b)
20
{
21
b.
SetLog
(a);
22
}
23
};
24
foreach
(
NumLog
item
in
nums.listCategory)
25
{
26
list1
.
Add
(
item
);
27
}
28
foreach
(
NumLog
item2
in
nums.listImportant)
29
{
30
list2
.
Add
(item2);
31
}
32
list1
.
Refresh
();
33
list2
.
Refresh
();
34
this.RebuildLayout(recursive:
true
);
35
}
36
}
ContainerFlag.item
@ item
ContentStatistics
Definition:
ContentStatistics.cs:2
ContentStatistics.list1
UIList list1
Definition:
ContentStatistics.cs:3
ContentStatistics.OnSwitchContent
override void OnSwitchContent(int idTab)
Definition:
ContentStatistics.cs:7
ContentStatistics.list2
UIList list2
Definition:
ContentStatistics.cs:5
EClass
Definition:
EClass.cs:5
EClass.player
static Player player
Definition:
EClass.cs:12
EContent
Definition:
EContent.cs:2
ItemNumLog
Definition:
ItemNumLog.cs:6
ItemNumLog.SetLog
void SetLog(NumLog log)
Definition:
ItemNumLog.cs:19
NumLogManager
Definition:
NumLogManager.cs:5
NumLog
Definition:
NumLog.cs:5
Player.nums
NumLogManager nums
Definition:
Player.cs:820
UIList.Callback
Definition:
UIList.cs:53
UIList
Definition:
UIList.cs:9
UIList.Add
override void Add(object item)
Definition:
UIList.cs:302
UIList.Refresh
virtual void Refresh(bool highlightLast=false)
Definition:
UIList.cs:424
Elin
ContentStatistics.cs
Generated by
1.9.6