Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
WorkSummary.cs
Go to the documentation of this file.
1using System.Collections.Generic;
2using Newtonsoft.Json;
3
4public class WorkSummary : EClass
5{
6 [JsonProperty]
7 public int[] ints = new int[10];
8
9 [JsonProperty]
11
12 [JsonProperty]
13 public List<WorkSession> hobbies = new List<WorkSession>();
14
15 [JsonProperty]
16 public List<Thing> things = new List<Thing>();
17
18 public int progress
19 {
20 get
21 {
22 return ints[0];
23 }
24 set
25 {
26 ints[0] = value;
27 }
28 }
29
30 public int money
31 {
32 get
33 {
34 return ints[5];
35 }
36 set
37 {
38 ints[5] = value;
39 }
40 }
41
42 public int food
43 {
44 get
45 {
46 return ints[6];
47 }
48 set
49 {
50 ints[6] = value;
51 }
52 }
53
54 public int knowledge
55 {
56 get
57 {
58 return ints[7];
59 }
60 set
61 {
62 ints[7] = value;
63 }
64 }
65
66 public int material
67 {
68 get
69 {
70 return ints[8];
71 }
72 set
73 {
74 ints[8] = value;
75 }
76 }
77
78 public void Reset()
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 }
86
87 public void AddThing(Thing t)
88 {
89 things.Add(t);
90 }
91}
void Add(Act a, string s="")
Definition: ActPlan.cs:11
Definition: EClass.cs:5
Definition: Thing.cs:8
WorkSession work
Definition: WorkSummary.cs:10
void AddThing(Thing t)
Definition: WorkSummary.cs:87
List< Thing > things
Definition: WorkSummary.cs:16
int[] ints
Definition: WorkSummary.cs:7
void Reset()
Definition: WorkSummary.cs:78
List< WorkSession > hobbies
Definition: WorkSummary.cs:13