Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
InvOwnerShop.cs
Go to the documentation of this file.
1public class InvOwnerShop : InvOwner
2{
3 public override bool HasTransaction => true;
4
5 public override bool AllowTransfer => true;
6
7 public InvOwnerShop(Card owner, Card container = null, CurrencyType _currency = CurrencyType.Money, PriceType _price = PriceType.Default)
8 : base(owner, container, _currency, _price)
9 {
10 }
11
12 public override void ListInteractions(ListInteraction list, Thing t, Trait trait, ButtonGrid b, bool context)
13 {
14 }
15
16 public override bool OnCancelDrag(DragItemCard.DragInfo from)
17 {
18 return false;
19 }
20}
CurrencyType
Definition: CurrencyType.cs:2
PriceType
Definition: PriceType.cs:2
Definition: Card.cs:11
override bool HasTransaction
Definition: InvOwnerShop.cs:3
override void ListInteractions(ListInteraction list, Thing t, Trait trait, ButtonGrid b, bool context)
Definition: InvOwnerShop.cs:12
override bool OnCancelDrag(DragItemCard.DragInfo from)
Definition: InvOwnerShop.cs:16
override bool AllowTransfer
Definition: InvOwnerShop.cs:5
InvOwnerShop(Card owner, Card container=null, CurrencyType _currency=CurrencyType.Money, PriceType _price=PriceType.Default)
Definition: InvOwnerShop.cs:7
Card owner
Definition: InvOwner.cs:538
Definition: Thing.cs:8
Definition: Trait.cs:7