Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
InvOwnerCopyShop.cs
Go to the documentation of this file.
2{
3 public override bool UseGuide => true;
4
5 public InvOwnerCopyShop(Card owner, Card container = null, CurrencyType _currency = CurrencyType.None)
6 : base(owner, container, _currency)
7 {
8 }
9
10 public override bool ShouldShowGuide(Thing t)
11 {
12 return owner.trait.CanCopy(t);
13 }
14
15 public override bool AllowMoved(Thing t)
16 {
17 return owner.trait.CanCopy(t);
18 }
19}
CurrencyType
Definition: CurrencyType.cs:2
Definition: Card.cs:11
Trait trait
Definition: Card.cs:49
override bool AllowMoved(Thing t)
InvOwnerCopyShop(Card owner, Card container=null, CurrencyType _currency=CurrencyType.None)
override bool UseGuide
override bool ShouldShowGuide(Thing t)
Card owner
Definition: InvOwner.cs:538
Definition: Thing.cs:8
virtual bool CanCopy(Thing t)
Definition: Trait.cs:1413