Elin Decompiled Documentation
EA 23.102 Nightly
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
Functions
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
w
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Events
Files
File List
File Members
All
$
a
b
c
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
z
Functions
Variables
Enumerations
a
b
c
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
z
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Events
Pages
Loading...
Searching...
No Matches
ContentTop.cs
Go to the documentation of this file.
1
public
class
ContentTop
:
EContent
2
{
3
public
UIText
textHomeName
;
4
5
public
UIList
list1
;
6
7
public
UIList
list2
;
8
9
public
override
void
OnSwitchContent
(
int
idTab)
10
{
11
textHomeName.text =
Lang
.
Parse
(
"journalTitle"
,
EClass
.
Home
.
name
);
12
EClass
.
player
.
notices
.
Refresh
();
13
list2.callbacks =
new
UIList
.
Callback
<
Schedule
.
Item
,
UIItem
>
14
{
15
onInstantiate = delegate(
Schedule
.
Item
a,
UIItem
b)
16
{
17
b.text1.text = a.Name;
18
b.text2.text = ((a.date ==
null
) ?
"????"
: a.date.GetText(
Date
.
TextFormat
.Schedule));
19
}
20
};
21
list2
.
Clear
();
22
foreach
(
Schedule
.
Item
item
in
EClass
.
world
.
schedule
.
list
)
23
{
24
list2
.
Add
(
item
);
25
}
26
list2
.
Refresh
();
27
}
28
}
ContainerFlag.item
@ item
ContentTop
Definition:
ContentTop.cs:2
ContentTop.textHomeName
UIText textHomeName
Definition:
ContentTop.cs:3
ContentTop.OnSwitchContent
override void OnSwitchContent(int idTab)
Definition:
ContentTop.cs:9
ContentTop.list2
UIList list2
Definition:
ContentTop.cs:7
ContentTop.list1
UIList list1
Definition:
ContentTop.cs:5
Date
Definition:
Date.cs:4
Date.TextFormat
TextFormat
Definition:
Date.cs:6
EClass
Definition:
EClass.cs:5
EClass.Home
static Faction Home
Definition:
EClass.cs:26
EClass.world
static World world
Definition:
EClass.cs:40
EClass.player
static Player player
Definition:
EClass.cs:12
EContent
Definition:
EContent.cs:2
Faction.name
string name
Definition:
FACTION.cs:133
Lang
Definition:
Lang.cs:6
Lang.Parse
static string Parse(string idLang, string val1, string val2=null, string val3=null, string val4=null, string val5=null)
Definition:
Lang.cs:147
NoticeManager.Refresh
void Refresh()
Definition:
NoticeManager.cs:12
Player.notices
NoticeManager notices
Definition:
Player.cs:1008
Schedule.Item
Definition:
Schedule.cs:7
Schedule
Definition:
Schedule.cs:5
Schedule.list
List< Item > list
Definition:
Schedule.cs:15
UIItem
Definition:
UIItem.cs:5
UIList.Callback
Definition:
UIList.cs:53
UIList
Definition:
UIList.cs:9
UIList.Clear
override void Clear()
Definition:
UIList.cs:349
UIList.Add
override void Add(object item)
Definition:
UIList.cs:302
UIList.Refresh
virtual void Refresh(bool highlightLast=false)
Definition:
UIList.cs:424
UIText
Definition:
UIText.cs:6
World.schedule
Schedule schedule
Definition:
World.cs:15
Elin
ContentTop.cs
Generated by
1.9.6