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

Public Member Functions

void Reset ()
 
void AddThing (Thing t)
 

Public Attributes

int[] ints = new int[10]
 
WorkSession work
 
List< WorkSessionhobbies = new List<WorkSession>()
 
List< Thingthings = new List<Thing>()
 

Properties

int progress [get, set]
 
int money [get, set]
 
int food [get, set]
 
int knowledge [get, set]
 
int material [get, set]
 
- 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]
 

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
 

Detailed Description

Definition at line 4 of file WorkSummary.cs.

Member Function Documentation

◆ AddThing()

void WorkSummary.AddThing ( Thing  t)
inline

Definition at line 87 of file WorkSummary.cs.

88 {
89 things.Add(t);
90 }
void Add(Act a, string s="")
Definition: ActPlan.cs:11
List< Thing > things
Definition: WorkSummary.cs:16

References ActPlan.List.Add(), and things.

Referenced by AIWork.AddDeliverable().

◆ Reset()

void WorkSummary.Reset ( )
inline

Definition at line 78 of file WorkSummary.cs.

79 {
80 int num2 = (material = 0);
81 int num4 = (knowledge = num2);
82 int num6 = (food = num4);
83 int num8 = (money = num6);
84 progress = num8;
85 }

References food, knowledge, material, money, and progress.

Member Data Documentation

◆ hobbies

List<WorkSession> WorkSummary.hobbies = new List<WorkSession>()

◆ ints

int [] WorkSummary.ints = new int[10]

Definition at line 7 of file WorkSummary.cs.

◆ things

List<Thing> WorkSummary.things = new List<Thing>()

Definition at line 16 of file WorkSummary.cs.

Referenced by AddThing().

◆ work

WorkSession WorkSummary.work

Definition at line 10 of file WorkSummary.cs.

Referenced by UIHomeInfo.RefreshReport(), and Chara.TickWork().

Property Documentation

◆ food

int WorkSummary.food
getset

Definition at line 42 of file WorkSummary.cs.

43 {
44 get
45 {
46 return ints[6];
47 }
48 set
49 {
50 ints[6] = value;
51 }
52 }
int[] ints
Definition: WorkSummary.cs:7

Referenced by Reset().

◆ knowledge

int WorkSummary.knowledge
getset

Definition at line 54 of file WorkSummary.cs.

55 {
56 get
57 {
58 return ints[7];
59 }
60 set
61 {
62 ints[7] = value;
63 }
64 }

Referenced by Reset().

◆ material

int WorkSummary.material
getset

Definition at line 66 of file WorkSummary.cs.

67 {
68 get
69 {
70 return ints[8];
71 }
72 set
73 {
74 ints[8] = value;
75 }
76 }

Referenced by Reset().

◆ money

int WorkSummary.money
getset

Definition at line 30 of file WorkSummary.cs.

31 {
32 get
33 {
34 return ints[5];
35 }
36 set
37 {
38 ints[5] = value;
39 }
40 }

Referenced by Reset().

◆ progress

int WorkSummary.progress
getset

Definition at line 18 of file WorkSummary.cs.

19 {
20 get
21 {
22 return ints[0];
23 }
24 set
25 {
26 ints[0] = value;
27 }
28 }

Referenced by Expedition.End(), and Reset().


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