Elin Decompiled Documentation
EA 23.319 Nightly Patch 1
Loading...
Searching...
No Matches
TraitCard.cs
Go to the documentation of this file.
1
public
class
TraitCard
:
TraitFigure
2
{
3
public
override
bool
ShowShadow
=>
false
;
4
5
public
override
int
GetMatColor
()
6
{
7
return
-3;
8
}
9
10
public
override
void
OnListInteraction
(
InvOwner
.
ListInteraction
list,
ButtonGrid
b,
bool
context)
11
{
12
base.OnListInteraction(list, b, context);
13
if
(context)
14
{
15
list.Add(
"invCollect"
, 150, delegate
16
{
17
ContentCodex
.
Collect
(
owner
as
Thing
);
18
});
19
}
20
}
21
}
ButtonGrid
Definition:
ButtonGrid.cs:7
ContentCodex
Definition:
ContentCodex.cs:6
ContentCodex.Collect
static void Collect(Thing t)
Definition:
ContentCodex.cs:170
InvOwner.ListInteraction
Definition:
InvOwner.cs:471
InvOwner
Definition:
InvOwner.cs:6
Thing
Definition:
Thing.cs:8
TraitCard
Definition:
TraitCard.cs:2
TraitCard.ShowShadow
override bool ShowShadow
Definition:
TraitCard.cs:3
TraitCard.GetMatColor
override int GetMatColor()
Definition:
TraitCard.cs:5
TraitCard.OnListInteraction
override void OnListInteraction(InvOwner.ListInteraction list, ButtonGrid b, bool context)
Definition:
TraitCard.cs:10
TraitFigure
Definition:
TraitFigure.cs:5
Trait.owner
Card owner
Definition:
Trait.cs:28
Elin
TraitCard.cs
Generated by
1.9.6