Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
TraitResidentBoard.cs
Go to the documentation of this file.
1
public
class
TraitResidentBoard
:
TraitBoard
2
{
3
public
override
bool
IsHomeItem
=>
true
;
4
5
public
override
void
TrySetAct
(
ActPlan
p)
6
{
7
if
(
EClass
.
_zone
.
IsPCFaction
)
8
{
9
p.
TrySetAct
(
"LayerPeople"
, delegate
10
{
11
EClass
.
ui
.
ToggleLayer
<
LayerPeople
>();
12
Tutorial
.
Play
(
"work"
);
13
return
false
;
14
},
owner
);
15
}
16
}
17
}
ActPlan
Definition:
ActPlan.cs:8
ActPlan.TrySetAct
bool TrySetAct(string lang, Func< bool > onPerform, Card tc, CursorInfo cursor=null, int dist=1, bool isHostileAct=false, bool localAct=true, bool canRepeat=false)
Definition:
ActPlan.cs:344
EClass
Definition:
EClass.cs:5
EClass._zone
static Zone _zone
Definition:
EClass.cs:20
EClass.ui
static UI ui
Definition:
EClass.cs:16
LayerPeople
Definition:
LayerPeople.cs:6
Layer.ToggleLayer
void ToggleLayer(string id)
Definition:
Layer.cs:426
TraitBoard
Definition:
TraitBoard.cs:2
TraitResidentBoard
Definition:
TraitResidentBoard.cs:2
TraitResidentBoard.IsHomeItem
override bool IsHomeItem
Definition:
TraitResidentBoard.cs:3
TraitResidentBoard.TrySetAct
override void TrySetAct(ActPlan p)
Definition:
TraitResidentBoard.cs:5
Trait.owner
Card owner
Definition:
Trait.cs:26
Tutorial
Definition:
Tutorial.cs:4
Tutorial.Play
static void Play(string idStep)
Definition:
Tutorial.cs:7
Zone.IsPCFaction
bool IsPCFaction
Definition:
Zone.cs:464
Elin
TraitResidentBoard.cs
Generated by
1.9.6