Elin Modding Docs Doc
Loading...
Searching...
No Matches
RefFaction.cs
1using System;
2using Newtonsoft.Json;
3
4// Token: 0x02000066 RID: 102
5public class RefFaction : EClass
6{
7 // Token: 0x1700007F RID: 127
8 // (get) Token: 0x0600029E RID: 670 RVA: 0x00014350 File Offset: 0x00012550
9 public Faction Instance
10 {
11 get
12 {
13 Faction result;
14 if ((result = this._faction) == null)
15 {
16 result = (this._faction = EClass.game.factions.dictAll[this.uid]);
17 }
18 return result;
19 }
20 }
21
22 // Token: 0x0600029F RID: 671 RVA: 0x0001438A File Offset: 0x0001258A
23 public RefFaction()
24 {
25 }
26
27 // Token: 0x060002A0 RID: 672 RVA: 0x00014392 File Offset: 0x00012592
28 public RefFaction(Faction faction)
29 {
30 this._faction = faction;
31 this.uid = faction.uid;
32 }
33
34 // Token: 0x0400052E RID: 1326
35 [JsonProperty]
36 public string uid;
37
38 // Token: 0x0400052F RID: 1327
39 private Faction _faction;
40}