Elin Decompiled Documentation
EA 23.287 Stable
Loading...
Searching...
No Matches
TraitPartyBoard.cs
Go to the documentation of this file.
1
public
class
TraitPartyBoard
:
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
(
"party_setup"
, delegate
10
{
11
LayerPeople
.
CreateParty
();
12
return
false
;
13
},
owner
);
14
}
15
}
16
}
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:372
EClass
Definition:
EClass.cs:6
EClass._zone
static Zone _zone
Definition:
EClass.cs:21
LayerPeople
Definition:
LayerPeople.cs:6
LayerPeople.CreateParty
static LayerPeople CreateParty()
Definition:
LayerPeople.cs:145
TraitBoard
Definition:
TraitBoard.cs:2
TraitPartyBoard
Definition:
TraitPartyBoard.cs:2
TraitPartyBoard.IsHomeItem
override bool IsHomeItem
Definition:
TraitPartyBoard.cs:3
TraitPartyBoard.TrySetAct
override void TrySetAct(ActPlan p)
Definition:
TraitPartyBoard.cs:5
Trait.owner
Card owner
Definition:
Trait.cs:28
Zone.IsPCFaction
bool IsPCFaction
Definition:
Zone.cs:475
Elin
TraitPartyBoard.cs
Generated by
1.9.6