Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
InvOwnerCopyShop.cs
Go to the documentation of this file.
1
public
class
InvOwnerCopyShop
:
InvOwner
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
CurrencyType
Definition:
CurrencyType.cs:2
Card
Definition:
Card.cs:11
Card.trait
Trait trait
Definition:
Card.cs:49
InvOwnerCopyShop
Definition:
InvOwnerCopyShop.cs:2
InvOwnerCopyShop.AllowMoved
override bool AllowMoved(Thing t)
Definition:
InvOwnerCopyShop.cs:15
InvOwnerCopyShop.InvOwnerCopyShop
InvOwnerCopyShop(Card owner, Card container=null, CurrencyType _currency=CurrencyType.None)
Definition:
InvOwnerCopyShop.cs:5
InvOwnerCopyShop.UseGuide
override bool UseGuide
Definition:
InvOwnerCopyShop.cs:3
InvOwnerCopyShop.ShouldShowGuide
override bool ShouldShowGuide(Thing t)
Definition:
InvOwnerCopyShop.cs:10
InvOwner
Definition:
InvOwner.cs:6
InvOwner.owner
Card owner
Definition:
InvOwner.cs:538
Thing
Definition:
Thing.cs:8
Trait.CanCopy
virtual bool CanCopy(Thing t)
Definition:
Trait.cs:1413
Elin
InvOwnerCopyShop.cs
Generated by
1.9.6