Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
ListPeople.cs
Go to the documentation of this file.
1
public
class
ListPeople
:
BaseListPeople
2
{
3
public
override
string
TextTab
4
{
5
get
6
{
7
if
(
textTab
.IsEmpty())
8
{
9
FactionBranch
factionBranch = EClass.Branch ??
EClass
.
pc
.
homeBranch
;
10
switch
(
memberType
)
11
{
12
case
FactionMemberType
.Default:
13
return
"residents"
.lang() +
" ("
+ factionBranch.
CountMembers
(
FactionMemberType
.Default) +
"/"
+ factionBranch.MaxPopulation +
")"
;
14
case
FactionMemberType
.Livestock:
15
return
"livestock"
.lang() +
" ("
+ factionBranch.
CountMembers
(
FactionMemberType
.Livestock) +
")"
;
16
case
FactionMemberType
.Guest:
17
return
"guests"
.lang() +
" ("
+ factionBranch.
CountGuests
() +
")"
;
18
}
19
}
20
return
textTab
;
21
}
22
}
23
24
public
override
bool
ShowCharaSheet
=>
true
;
25
26
public
override
bool
ShowGoto
=>
true
;
27
28
public
override
bool
ShowHome
=>
memberType
!=
FactionMemberType
.Guest;
29
30
public
override
bool
ShowShowMode
=>
true
;
31
}
FactionMemberType
FactionMemberType
Definition:
FactionMemberType.cs:2
BaseListPeople
Definition:
BaseListPeople.cs:7
BaseListPeople.memberType
FactionMemberType memberType
Definition:
BaseListPeople.cs:10
Chara.homeBranch
FactionBranch homeBranch
Definition:
Chara.cs:889
EClass
Definition:
EClass.cs:5
EClass.pc
static Chara pc
Definition:
EClass.cs:14
FactionBranch
Definition:
FactionBranch.cs:8
FactionBranch.CountMembers
int CountMembers(FactionMemberType type, bool onlyAlive=false)
Definition:
FactionBranch.cs:1541
FactionBranch.CountGuests
int CountGuests()
Definition:
FactionBranch.cs:1554
ListOwner< Chara, ItemGeneral >::textTab
string textTab
Definition:
ListOwner.cs:31
ListPeople
Definition:
ListPeople.cs:2
ListPeople.ShowCharaSheet
override bool ShowCharaSheet
Definition:
ListPeople.cs:24
ListPeople.TextTab
override string TextTab
Definition:
ListPeople.cs:4
ListPeople.ShowGoto
override bool ShowGoto
Definition:
ListPeople.cs:26
ListPeople.ShowHome
override bool ShowHome
Definition:
ListPeople.cs:28
ListPeople.ShowShowMode
override bool ShowShowMode
Definition:
ListPeople.cs:30
Elin
ListPeople.cs
Generated by
1.9.6