Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
WorkSummary.cs
Go to the documentation of this file.
1
using
System.Collections.Generic;
2
using
Newtonsoft.Json;
3
4
public
class
WorkSummary
:
EClass
5
{
6
[JsonProperty]
7
public
int
[]
ints
=
new
int
[10];
8
9
[JsonProperty]
10
public
WorkSession
work
;
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
}
ActPlan.List.Add
void Add(Act a, string s="")
Definition:
ActPlan.cs:11
EClass
Definition:
EClass.cs:5
Thing
Definition:
Thing.cs:8
WorkSession
Definition:
WorkSession.cs:6
WorkSummary
Definition:
WorkSummary.cs:5
WorkSummary.work
WorkSession work
Definition:
WorkSummary.cs:10
WorkSummary.material
int material
Definition:
WorkSummary.cs:67
WorkSummary.AddThing
void AddThing(Thing t)
Definition:
WorkSummary.cs:87
WorkSummary.money
int money
Definition:
WorkSummary.cs:31
WorkSummary.food
int food
Definition:
WorkSummary.cs:43
WorkSummary.things
List< Thing > things
Definition:
WorkSummary.cs:16
WorkSummary.progress
int progress
Definition:
WorkSummary.cs:19
WorkSummary.ints
int[] ints
Definition:
WorkSummary.cs:7
WorkSummary.knowledge
int knowledge
Definition:
WorkSummary.cs:55
WorkSummary.Reset
void Reset()
Definition:
WorkSummary.cs:78
WorkSummary.hobbies
List< WorkSession > hobbies
Definition:
WorkSummary.cs:13
Elin
WorkSummary.cs
Generated by
1.9.6