terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
CustomIntCondition.cs
Go to the documentation of this file.
1using System;
6
8{
9 // Token: 0x020009AC RID: 2476
11 {
12 // Token: 0x1700084C RID: 2124
13 // (get) Token: 0x06004941 RID: 18753 RVA: 0x00261E40 File Offset: 0x00260040
14 // (set) Token: 0x06004942 RID: 18754 RVA: 0x00261E54 File Offset: 0x00260054
15 public int Value
16 {
17 get
18 {
19 return this._value;
20 }
21 set
22 {
23 if (!true)
24 {
25 }
26 if (this._tracker != null)
27 {
28 }
29 int maxValue = this._maxValue;
31 }
32 }
33
34 // Token: 0x06004943 RID: 18755 RVA: 0x00261E84 File Offset: 0x00260084
35 private CustomIntCondition(string name, int maxValue)
36 : base(name)
37 {
38 }
39
40 // Token: 0x06004944 RID: 18756 RVA: 0x00261E98 File Offset: 0x00260098
41 public override void Clear()
42 {
43 base.Clear();
44 }
45
46 // Token: 0x06004945 RID: 18757 RVA: 0x00261EAC File Offset: 0x002600AC
47 public override void Load(JObject state)
48 {
49 base.Load(state);
51 int num = (int)jtoken;
53 this._value = num;
54 if (tracker != null)
55 {
56 return;
57 }
58 }
59
60 // Token: 0x06004946 RID: 18758 RVA: 0x000021DB File Offset: 0x000003DB
62 {
63 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
64 }
65
66 // Token: 0x06004947 RID: 18759 RVA: 0x000021DB File Offset: 0x000003DB
67 public static AchievementCondition Create(string name, int maxValue)
68 {
69 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
70 }
71
72 // Token: 0x06004948 RID: 18760 RVA: 0x00261EE0 File Offset: 0x002600E0
73 public override void Complete()
74 {
75 if (this._tracker != null)
76 {
77 int maxValue = this._maxValue;
78 }
79 int maxValue2 = this._maxValue;
81 base.Complete();
82 }
83
84 // Token: 0x0400843A RID: 33850
85 [JsonProperty("Value")]
86 private int _value;
87
88 // Token: 0x0400843B RID: 33851
89 private int _maxValue;
90 }
91}
class f__AnonymousType0<< Count > j__TPar
static AchievementCondition Create(string name, int maxValue)