Elin Modding Docs Doc
Loading...
Searching...
No Matches
RefReligion.cs
1using System;
2using Newtonsoft.Json;
3
4// Token: 0x02000093 RID: 147
5public class RefReligion : EClass
6{
7 // Token: 0x170000D1 RID: 209
8 // (get) Token: 0x06000402 RID: 1026 RVA: 0x0001BB78 File Offset: 0x00019D78
9 public Religion Instance
10 {
11 get
12 {
13 Religion result;
14 if ((result = this._religion) == null)
15 {
16 result = (this._religion = EClass.game.religions.dictAll[this.uid]);
17 }
18 return result;
19 }
20 }
21
22 // Token: 0x06000403 RID: 1027 RVA: 0x0001BBB2 File Offset: 0x00019DB2
23 public RefReligion()
24 {
25 }
26
27 // Token: 0x06000404 RID: 1028 RVA: 0x0001BBBA File Offset: 0x00019DBA
28 public RefReligion(Religion religion)
29 {
30 this._religion = religion;
31 this.uid = religion.id;
32 }
33
34 // Token: 0x040005CB RID: 1483
35 [JsonProperty]
36 public string uid;
37
38 // Token: 0x040005CC RID: 1484
39 private Religion _religion;
40}