Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
TraitRoomPlate.cs
Go to the documentation of this file.
2{
3 public override bool IsHomeItem => true;
4
5 public override bool CanBeMasked => true;
6
7 public override bool ShouldTryRefreshRoom => true;
8
9 public override bool MaskOnBuild => true;
10
11 public override bool ShowContextOnPick => true;
12
14 {
15 get
16 {
17 return owner.GetObj<AreaData>(3) ?? owner.SetObj<AreaData>(3, new AreaData());
18 }
19 set
20 {
21 owner.SetObj(3, value);
22 }
23 }
24
25 public override void TrySetAct(ActPlan p)
26 {
28 {
29 return;
30 }
32 {
33 p.TrySetAct(a.text, delegate
34 {
35 a.action();
36 EClass._map.rooms.RefreshAll();
37 return false;
38 }, owner);
39 }
40 }
41}
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
List< Interaction > ListInteractions()
Definition: BaseArea.cs:167
void SetObj(int id, object o)
Definition: BaseCard.cs:91
Point pos
Definition: Card.cs:55
bool IsInstalled
Definition: Card.cs:2241
Room room
Definition: Cell.cs:102
bool enable
Definition: CoreDebug.cs:285
Definition: EClass.cs:5
static Zone _zone
Definition: EClass.cs:20
static CoreDebug debug
Definition: EClass.cs:48
Cell cell
Definition: Point.cs:51
override void TrySetAct(ActPlan p)
override bool ShouldTryRefreshRoom
AreaData areaData
override bool IsHomeItem
override bool ShowContextOnPick
override bool CanBeMasked
override bool MaskOnBuild
Card owner
Definition: Trait.cs:26
bool IsPCFaction
Definition: Zone.cs:464