terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
OptionalInt32.cs
Go to the documentation of this file.
1using System;
5using UnityEngine;
6
7namespace InControl
8{
9 [global::Cpp2ILInjected.Token(Token = "0x2000068")]
11 public struct OptionalInt32
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x60004BF")]
14 [global::Cpp2ILInjected.Address(RVA = "0x19B674C", Offset = "0x19B674C", Length = "0x10")]
15 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
16 public OptionalInt32(int value)
17 {
18 throw null;
19 }
20
21 [global::Cpp2ILInjected.Token(Token = "0x17000159")]
22 public bool HasValue
23 {
24 [global::Cpp2ILInjected.Token(Token = "0x60004C0")]
25 [global::Cpp2ILInjected.Address(RVA = "0x19B675C", Offset = "0x19B675C", Length = "0x8")]
26 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
27 get
28 {
29 throw null;
30 }
31 }
32
33 [global::Cpp2ILInjected.Token(Token = "0x1700015A")]
34 public bool HasNoValue
35 {
36 [global::Cpp2ILInjected.Token(Token = "0x60004C1")]
37 [global::Cpp2ILInjected.Address(RVA = "0x19B6764", Offset = "0x19B6764", Length = "0x10")]
38 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
39 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
40 get
41 {
42 throw null;
43 }
44 }
45
46 [global::Cpp2ILInjected.Token(Token = "0x1700015B")]
47 public int Value
48 {
49 [global::Cpp2ILInjected.Token(Token = "0x60004C2")]
50 [global::Cpp2ILInjected.Address(RVA = "0x19B6774", Offset = "0x19B6774", Length = "0x5C")]
51 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(OptionalInt32), Member = "op_Explicit", MemberParameters = new object[] { typeof(OptionalInt32) }, ReturnType = typeof(int))]
52 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
53 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(OptionalTypeHasNoValueException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
54 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
55 get
56 {
57 throw null;
58 }
59 [global::Cpp2ILInjected.Token(Token = "0x60004C3")]
60 [global::Cpp2ILInjected.Address(RVA = "0x19B67D0", Offset = "0x19B67D0", Length = "0x10")]
61 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
62 set
63 {
64 throw null;
65 }
66 }
67
68 [global::Cpp2ILInjected.Token(Token = "0x60004C4")]
69 [global::Cpp2ILInjected.Address(RVA = "0x19B67E0", Offset = "0x19B67E0", Length = "0xC")]
70 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
71 public void Clear()
72 {
73 throw null;
74 }
75
76 [global::Cpp2ILInjected.Token(Token = "0x60004C5")]
77 [global::Cpp2ILInjected.Address(RVA = "0x19B67EC", Offset = "0x19B67EC", Length = "0x18")]
78 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
79 public int GetValueOrDefault(int defaultValue)
80 {
81 throw null;
82 }
83
84 [global::Cpp2ILInjected.Token(Token = "0x60004C6")]
85 [global::Cpp2ILInjected.Address(RVA = "0x19B6804", Offset = "0x19B6804", Length = "0x18")]
86 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
87 public int GetValueOrZero()
88 {
89 throw null;
90 }
91
92 [global::Cpp2ILInjected.Token(Token = "0x60004C7")]
93 [global::Cpp2ILInjected.Address(RVA = "0x19B681C", Offset = "0x19B681C", Length = "0x10")]
94 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
95 public void SetValue(int value)
96 {
97 throw null;
98 }
99
100 [global::Cpp2ILInjected.Token(Token = "0x60004C8")]
101 [global::Cpp2ILInjected.Address(RVA = "0x19B682C", Offset = "0x19B682C", Length = "0x20")]
102 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "Equals", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
104 public override bool Equals(object other)
105 {
106 throw null;
107 }
108
109 [global::Cpp2ILInjected.Token(Token = "0x60004C9")]
110 [global::Cpp2ILInjected.Address(RVA = "0x19B684C", Offset = "0x19B684C", Length = "0x28")]
111 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
112 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
114 {
115 throw null;
116 }
117
118 [global::Cpp2ILInjected.Token(Token = "0x60004CA")]
119 [global::Cpp2ILInjected.Address(RVA = "0x19B6874", Offset = "0x19B6874", Length = "0x20")]
120 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
121 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
122 public bool Equals(int other)
123 {
124 throw null;
125 }
126
127 [global::Cpp2ILInjected.Token(Token = "0x60004CB")]
128 [global::Cpp2ILInjected.Address(RVA = "0x19B6894", Offset = "0x19B6894", Length = "0x24")]
129 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
130 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
131 public static bool operator ==(OptionalInt32 a, OptionalInt32 b)
132 {
133 throw null;
134 }
135
136 [global::Cpp2ILInjected.Token(Token = "0x60004CC")]
137 [global::Cpp2ILInjected.Address(RVA = "0x19B68B8", Offset = "0x19B68B8", Length = "0x2C")]
138 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
139 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
140 public static bool operator !=(OptionalInt32 a, OptionalInt32 b)
141 {
142 throw null;
143 }
144
145 [global::Cpp2ILInjected.Token(Token = "0x60004CD")]
146 [global::Cpp2ILInjected.Address(RVA = "0x19B68E4", Offset = "0x19B68E4", Length = "0x14")]
147 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
148 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
149 public static bool operator ==(OptionalInt32 a, int b)
150 {
151 throw null;
152 }
153
154 [global::Cpp2ILInjected.Token(Token = "0x60004CE")]
155 [global::Cpp2ILInjected.Address(RVA = "0x19B68F8", Offset = "0x19B68F8", Length = "0x1C")]
156 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
157 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
158 public static bool operator !=(OptionalInt32 a, int b)
159 {
160 throw null;
161 }
162
163 [global::Cpp2ILInjected.Token(Token = "0x60004CF")]
164 [global::Cpp2ILInjected.Address(RVA = "0x19B6914", Offset = "0x19B6914", Length = "0xC")]
165 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
166 private static int CombineHashCodes(int h1, int h2)
167 {
168 throw null;
169 }
170
171 [global::Cpp2ILInjected.Token(Token = "0x60004D0")]
172 [global::Cpp2ILInjected.Address(RVA = "0x19B6920", Offset = "0x19B6920", Length = "0x38")]
173 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
174 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(bool), Member = "GetHashCode", ReturnType = typeof(int))]
175 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "GetHashCode", ReturnType = typeof(int))]
176 public override int GetHashCode()
177 {
178 throw null;
179 }
180
181 [global::Cpp2ILInjected.Token(Token = "0x60004D1")]
182 [global::Cpp2ILInjected.Address(RVA = "0x19B6958", Offset = "0x19B6958", Length = "0x94")]
183 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
184 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CultureInfo), Member = "get_InvariantCulture", ReturnType = typeof(CultureInfo))]
185 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", MemberParameters = new object[] { typeof(IFormatProvider) }, ReturnType = typeof(string))]
186 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
187 public override string ToString()
188 {
189 throw null;
190 }
191
192 [global::Cpp2ILInjected.Token(Token = "0x60004D2")]
193 [global::Cpp2ILInjected.Address(RVA = "0x19B69EC", Offset = "0x19B69EC", Length = "0x10")]
194 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
195 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
196 public static implicit operator OptionalInt32(int value)
197 {
198 throw null;
199 }
200
201 [global::Cpp2ILInjected.Token(Token = "0x60004D3")]
202 [global::Cpp2ILInjected.Address(RVA = "0x19B69FC", Offset = "0x19B69FC", Length = "0x18")]
203 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
204 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(OptionalInt32), Member = "get_Value", ReturnType = typeof(int))]
205 public static explicit operator int(OptionalInt32 optional)
206 {
207 throw null;
208 }
209
211 [global::Cpp2ILInjected.Token(Token = "0x40003EA")]
212 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
213 private bool hasValue;
214
216 [global::Cpp2ILInjected.Token(Token = "0x40003EB")]
217 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4")]
218 private int value;
219 }
220}
class f__AnonymousType0<< Count > j__TPar
void SetValue(int value)
static bool operator!=(OptionalInt32 a, OptionalInt32 b)
static bool operator==(OptionalInt32 a, OptionalInt32 b)
static int CombineHashCodes(int h1, int h2)
override bool Equals(object other)
int GetValueOrDefault(int defaultValue)
override string ToString()
bool Equals(OptionalInt32 other)
override int GetHashCode()