Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
ThingStack Class Reference
Inheritance diagram for ThingStack:
EClass

Public Member Functions

void Add (Thing t)
 

Public Attributes

List< Thinglist = new List<Thing>()
 
int count
 
int val
 
int max
 

Additional Inherited Members

- Static Public Member Functions inherited from EClass
static int rnd (int a)
 
static int curve (int a, int start, int step, int rate=75)
 
static int rndHalf (int a)
 
static float rndf (float a)
 
static int rndSqrt (int a)
 
static void Wait (float a, Card c)
 
static void Wait (float a, Point p)
 
static int Bigger (int a, int b)
 
static int Smaller (int a, int b)
 
- Static Public Attributes inherited from EClass
static Core core
 
- Properties inherited from EClass
static Game game [get]
 
static bool AdvMode [get]
 
static Player player [get]
 
static Chara pc [get]
 
static UI ui [get]
 
static Map _map [get]
 
static Zone _zone [get]
 
static FactionBranch Branch [get]
 
static FactionBranch BranchOrHomeBranch [get]
 
static Faction Home [get]
 
static Faction Wilds [get]
 
static Scene scene [get]
 
static BaseGameScreen screen [get]
 
static GameSetting setting [get]
 
static GameData gamedata [get]
 
static ColorProfile Colors [get]
 
static World world [get]
 
static SourceManager sources [get]
 
static SourceManager editorSources [get]
 
static SoundManager Sound [get]
 
static CoreDebug debug [get]
 

Detailed Description

Definition at line 3 of file ThingStack.cs.

Member Function Documentation

◆ Add()

void ThingStack.Add ( Thing  t)
inline

Definition at line 13 of file ThingStack.cs.

14 {
15 list.Add(t);
16 count += t.Num;
17 if (t.Num > max)
18 {
19 max = t.Num;
20 }
21 }
void Add(Act a, string s="")
Definition: ActPlan.cs:11
int Num
Definition: Card.cs:154
List< Thing > list
Definition: ThingStack.cs:5
int count
Definition: ThingStack.cs:7

References ActPlan.List.Add(), count, list, max, and Card.Num.

Referenced by ThingContainer.GetThingStack().

Member Data Documentation

◆ count

int ThingStack.count

◆ list

◆ max

int ThingStack.max

Definition at line 11 of file ThingStack.cs.

Referenced by Add().

◆ val

int ThingStack.val

Definition at line 9 of file ThingStack.cs.


The documentation for this class was generated from the following file: