Elin Modding Docs Doc
Loading...
Searching...
No Matches
ExpeditionManager.cs
1
using
System;
2
using
System.Collections.Generic;
3
using
System.Linq;
4
using
Newtonsoft.Json;
5
6
// Token: 0x0200008A RID: 138
7
public
class
ExpeditionManager
:
EClass
8
{
9
// Token: 0x060003D0 RID: 976 RVA: 0x0001B140 File Offset: 0x00019340
10
public
void
SetOwner(
FactionBranch
_branch)
11
{
12
this.branch = _branch;
13
foreach
(
Expedition
expedition
in
this.dict.Values)
14
{
15
expedition.SetOwner(this.branch);
16
}
17
}
18
19
// Token: 0x060003D1 RID: 977 RVA: 0x0001B1A4 File Offset: 0x000193A4
20
public
void
Add(
Expedition
ex)
21
{
22
this.dict[ex.uidChara] = ex;
23
ex.Start();
24
}
25
26
// Token: 0x060003D2 RID: 978 RVA: 0x0001B1BE File Offset: 0x000193BE
27
public
void
OnSimulateHour()
28
{
29
this.dict.Values.ToList<
Expedition
>().ForeachReverse(delegate(
Expedition
e)
30
{
31
e.OnAdvanceHour();
32
});
33
}
34
35
// Token: 0x040005B0 RID: 1456
36
[JsonProperty]
37
public
Dictionary<int, Expedition> dict =
new
Dictionary<int, Expedition>();
38
39
// Token: 0x040005B1 RID: 1457
40
public
FactionBranch
branch;
41
}
EClass
Definition
EClass.cs:7
Expedition
Definition
Expedition.cs:6
ExpeditionManager
Definition
ExpeditionManager.cs:8
FactionBranch
Definition
FactionBranch.cs:10
Elin
ExpeditionManager.cs
Generated by
1.12.0