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
iOS_UserManager.cs
Go to the documentation of this file.
1using System;
4using UnityEngine;
6
7[global::Cpp2ILInjected.Token(Token = "0x2000040")]
8public class iOS_UserManager
9{
10 [global::Cpp2ILInjected.Token(Token = "0x17000064")]
11 public static string UserId
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x6000162")]
14 [global::Cpp2ILInjected.Address(RVA = "0x704740", Offset = "0x704740", Length = "0x58")]
15 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
16 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
17 get
18 {
19 throw null;
20 }
21 }
22
23 [global::Cpp2ILInjected.Token(Token = "0x17000065")]
24 public static string UserAlias
25 {
26 [global::Cpp2ILInjected.Token(Token = "0x6000163")]
27 [global::Cpp2ILInjected.Address(RVA = "0x704798", Offset = "0x704798", Length = "0x58")]
28 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
29 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
30 get
31 {
32 throw null;
33 }
34 }
35
36 [global::Cpp2ILInjected.Token(Token = "0x17000066")]
37 public static bool AttemptingSignIn
38 {
39 [global::Cpp2ILInjected.Token(Token = "0x6000164")]
40 [global::Cpp2ILInjected.Address(RVA = "0x7047F0", Offset = "0x7047F0", Length = "0xA0")]
41 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
42 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
43 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
44 get
45 {
46 throw null;
47 }
48 }
49
50 [global::Cpp2ILInjected.Token(Token = "0x17000067")]
52 {
53 [global::Cpp2ILInjected.Token(Token = "0x6000165")]
54 [global::Cpp2ILInjected.Address(RVA = "0x704890", Offset = "0x704890", Length = "0x58")]
55 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
56 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
57 get
58 {
59 throw null;
60 }
61 }
62
63 [global::Cpp2ILInjected.Token(Token = "0x6000166")]
64 [global::Cpp2ILInjected.Address(RVA = "0x702B30", Offset = "0x702B30", Length = "0x120")]
65 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
66 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerPrefs), Member = "GetString", MemberParameters = new object[]
68 {
69 typeof(string),
70 typeof(string)
71 }, ReturnType = typeof(string))]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
73 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
74 public static void Setup()
75 {
76 throw null;
77 }
78
79 [global::Cpp2ILInjected.Token(Token = "0x6000167")]
80 [global::Cpp2ILInjected.Address(RVA = "0x7048E8", Offset = "0x7048E8", Length = "0xE8")]
81 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerPrefs), Member = "SetString", MemberParameters = new object[]
83 {
84 typeof(string),
85 typeof(string)
86 }, ReturnType = typeof(void))]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerPrefs), Member = "Save", ReturnType = typeof(void))]
88 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
89 public static void ClearCache()
90 {
91 throw null;
92 }
93
94 [global::Cpp2ILInjected.Token(Token = "0x6000168")]
95 [global::Cpp2ILInjected.Address(RVA = "0x702DE4", Offset = "0x702DE4", Length = "0x5C")]
96 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
97 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
98 public static void RequestSignIn()
99 {
100 throw null;
101 }
102
103 [global::Cpp2ILInjected.Token(Token = "0x6000169")]
104 [global::Cpp2ILInjected.Address(RVA = "0x70292C", Offset = "0x70292C", Length = "0x1AC")]
105 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
106 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(iOS_UserManager), Member = "AttemptSignIn", ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Application), Member = "get_isEditor", ReturnType = typeof(bool))]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Now", ReturnType = typeof(DateTime))]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "op_Subtraction", MemberParameters = new object[]
111 {
114 }, ReturnType = typeof(TimeSpan))]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TimeSpan), Member = "get_TotalSeconds", ReturnType = typeof(double))]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(iOS_UserManager), Member = "get_EditorSignInProcessTimeout", ReturnType = typeof(float))]
117 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(iOS_UserManager), Member = "get_EditorSignedIn", ReturnType = typeof(bool))]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(iOS_UserManager), Member = "PlayerAuthenticated", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(iOS_UserManager), Member = "UpdateUser", ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
121 public static void Update()
122 {
123 throw null;
124 }
125
126 [global::Cpp2ILInjected.Token(Token = "0x600016A")]
127 [global::Cpp2ILInjected.Address(RVA = "0x704D1C", Offset = "0x704D1C", Length = "0x568")]
128 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
129 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(iOS_UserManager), Member = "Update", ReturnType = typeof(void))]
130 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Application), Member = "get_isEditor", ReturnType = typeof(bool))]
132 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(iOS_UserManager), Member = "get_EditorSignedIn", ReturnType = typeof(bool))]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(iOS_UserManager), Member = "get_EditorUserId", ReturnType = typeof(string))]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Inequality", MemberParameters = new object[]
135 {
136 typeof(string),
137 typeof(string)
138 }, ReturnType = typeof(bool))]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(iOS_UserManager), Member = "get_EditorUserAlias", ReturnType = typeof(string))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Social), Member = "get_localUser", ReturnType = typeof(ILocalUser))]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerPrefs), Member = "SetString", MemberParameters = new object[]
142 {
143 typeof(string),
144 typeof(string)
145 }, ReturnType = typeof(void))]
146 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerPrefs), Member = "Save", ReturnType = typeof(void))]
147 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DrPlatform.User), Member = "OnPlatformUserChanged", ReturnType = typeof(void))]
148 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 22)]
149 private static void UpdateUser()
150 {
151 throw null;
152 }
153
154 [global::Cpp2ILInjected.Token(Token = "0x600016B")]
155 [global::Cpp2ILInjected.Address(RVA = "0x7049D0", Offset = "0x7049D0", Length = "0x258")]
156 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
157 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(iOS_UserManager), Member = "Update", ReturnType = typeof(void))]
158 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
159 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Application), Member = "get_isEditor", ReturnType = typeof(bool))]
160 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(iOS_UserManager), Member = "get_EditorSignedIn", ReturnType = typeof(bool))]
161 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Now", ReturnType = typeof(DateTime))]
162 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Social), Member = "get_localUser", ReturnType = typeof(ILocalUser))]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Action<bool>), Member = ".ctor", MemberParameters = new object[]
164 {
165 typeof(object),
167 }, ReturnType = typeof(void))]
168 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
169 private static void AttemptSignIn()
170 {
171 throw null;
172 }
173
174 [global::Cpp2ILInjected.Token(Token = "0x600016C")]
175 [global::Cpp2ILInjected.Address(RVA = "0x704CC4", Offset = "0x704CC4", Length = "0x58")]
176 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(iOS_UserManager), Member = "Update", ReturnType = typeof(void))]
177 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
178 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
179 private static void PlayerAuthenticated(bool success)
180 {
181 throw null;
182 }
183
184 [global::Cpp2ILInjected.Token(Token = "0x17000068")]
185 public static bool EditorSignedIn
186 {
187 [global::Cpp2ILInjected.Token(Token = "0x600016D")]
188 [global::Cpp2ILInjected.Address(RVA = "0x704C70", Offset = "0x704C70", Length = "0x54")]
189 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
190 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(iOS_UserManager), Member = "Update", ReturnType = typeof(void))]
191 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(iOS_UserManager), Member = "UpdateUser", ReturnType = typeof(void))]
192 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(iOS_UserManager), Member = "AttemptSignIn", ReturnType = typeof(void))]
193 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
194 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerPrefs), Member = "GetInt", MemberParameters = new object[]
195 {
196 typeof(string),
197 typeof(int)
198 }, ReturnType = typeof(int))]
199 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
200 get
201 {
202 throw null;
203 }
204 [global::Cpp2ILInjected.Token(Token = "0x600016E")]
205 [global::Cpp2ILInjected.Address(RVA = "0x70534C", Offset = "0x70534C", Length = "0x54")]
206 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
207 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerPrefs), Member = "SetInt", MemberParameters = new object[]
208 {
209 typeof(string),
210 typeof(int)
211 }, ReturnType = typeof(void))]
212 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerPrefs), Member = "Save", ReturnType = typeof(void))]
213 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
214 set
215 {
216 throw null;
217 }
218 }
219
220 [global::Cpp2ILInjected.Token(Token = "0x17000069")]
221 public static string EditorUserId
222 {
223 [global::Cpp2ILInjected.Token(Token = "0x600016F")]
224 [global::Cpp2ILInjected.Address(RVA = "0x705284", Offset = "0x705284", Length = "0x64")]
225 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(iOS_UserManager), Member = "UpdateUser", ReturnType = typeof(void))]
226 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
227 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerPrefs), Member = "GetString", MemberParameters = new object[]
228 {
229 typeof(string),
230 typeof(string)
231 }, ReturnType = typeof(string))]
232 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
233 get
234 {
235 throw null;
236 }
237 [global::Cpp2ILInjected.Token(Token = "0x6000170")]
238 [global::Cpp2ILInjected.Address(RVA = "0x7053A0", Offset = "0x7053A0", Length = "0x54")]
239 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
240 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerPrefs), Member = "SetString", MemberParameters = new object[]
241 {
242 typeof(string),
243 typeof(string)
244 }, ReturnType = typeof(void))]
245 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerPrefs), Member = "Save", ReturnType = typeof(void))]
246 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
247 set
248 {
249 throw null;
250 }
251 }
252
253 [global::Cpp2ILInjected.Token(Token = "0x1700006A")]
254 public static string EditorUserAlias
255 {
256 [global::Cpp2ILInjected.Token(Token = "0x6000171")]
257 [global::Cpp2ILInjected.Address(RVA = "0x7052E8", Offset = "0x7052E8", Length = "0x64")]
258 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(iOS_UserManager), Member = "UpdateUser", ReturnType = typeof(void))]
259 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
260 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerPrefs), Member = "GetString", MemberParameters = new object[]
261 {
262 typeof(string),
263 typeof(string)
264 }, ReturnType = typeof(string))]
265 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
266 get
267 {
268 throw null;
269 }
270 [global::Cpp2ILInjected.Token(Token = "0x6000172")]
271 [global::Cpp2ILInjected.Address(RVA = "0x7053F4", Offset = "0x7053F4", Length = "0x54")]
272 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
273 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerPrefs), Member = "SetString", MemberParameters = new object[]
274 {
275 typeof(string),
276 typeof(string)
277 }, ReturnType = typeof(void))]
278 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerPrefs), Member = "Save", ReturnType = typeof(void))]
279 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
280 set
281 {
282 throw null;
283 }
284 }
285
286 [global::Cpp2ILInjected.Token(Token = "0x1700006B")]
287 public static float EditorSignInProcessTimeout
288 {
289 [global::Cpp2ILInjected.Token(Token = "0x6000173")]
290 [global::Cpp2ILInjected.Address(RVA = "0x704C28", Offset = "0x704C28", Length = "0x48")]
291 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(iOS_UserManager), Member = "Update", ReturnType = typeof(void))]
292 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
293 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerPrefs), Member = "GetFloat", MemberParameters = new object[]
294 {
295 typeof(string),
296 typeof(float)
297 }, ReturnType = typeof(float))]
298 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
299 get
300 {
301 throw null;
302 }
303 [global::Cpp2ILInjected.Token(Token = "0x6000174")]
304 [global::Cpp2ILInjected.Address(RVA = "0x705448", Offset = "0x705448", Length = "0x5C")]
305 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
306 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerPrefs), Member = "SetFloat", MemberParameters = new object[]
307 {
308 typeof(string),
309 typeof(float)
310 }, ReturnType = typeof(void))]
311 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerPrefs), Member = "Save", ReturnType = typeof(void))]
312 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
313 set
314 {
315 throw null;
316 }
317 }
318
319 [global::Cpp2ILInjected.Token(Token = "0x6000175")]
320 [global::Cpp2ILInjected.Address(RVA = "0x7054A4", Offset = "0x7054A4", Length = "0x8")]
321 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
322 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
324 {
325 throw null;
326 }
327
328 // Note: this type is marked as 'beforefieldinit'.
329 [global::Cpp2ILInjected.Token(Token = "0x6000176")]
330 [global::Cpp2ILInjected.Address(RVA = "0x7054AC", Offset = "0x7054AC", Length = "0x58")]
331 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
332 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
333 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
335 {
336 throw null;
337 }
338
339 [global::Cpp2ILInjected.Token(Token = "0x4000100")]
340 public static bool EditorAttemptingSignIn;
341
342 [global::Cpp2ILInjected.Token(Token = "0x4000101")]
344
345 [global::Cpp2ILInjected.Token(Token = "0x4000102")]
346 private static string _userId;
347
348 [global::Cpp2ILInjected.Token(Token = "0x4000103")]
349 private static string _userAlias;
350
351 [global::Cpp2ILInjected.Token(Token = "0x4000104")]
352 private static bool _attemptedPassiveLogin;
353
354 [global::Cpp2ILInjected.Token(Token = "0x4000105")]
355 private static bool _requestedLogin;
356
357 [global::Cpp2ILInjected.Token(Token = "0x4000106")]
358 private static bool _attemptingSignIn;
359
360 [global::Cpp2ILInjected.Token(Token = "0x4000107")]
362
363 [global::Cpp2ILInjected.Token(Token = "0x4000108")]
364 private const string c_accountIdLastUserKey = "AccountId_LastUser";
365
366 [global::Cpp2ILInjected.Token(Token = "0x4000109")]
367 private const string c_accountIdLastUserGameTag = "AccountGamerTag_LastUser";
368}
class f__AnonymousType0<< Count > j__TPar
static float EditorSignInProcessTimeout
static DrPlatform.IOS.User.UserState _loginState
static string _userId
static DrPlatform.IOS.User.UserState LoginState
static void AttemptSignIn()
static void UpdateUser()
static string _userAlias
static void PlayerAuthenticated(bool success)
static bool EditorSignedIn
static bool _requestedLogin
static void Setup()
const string c_accountIdLastUserGameTag
static void RequestSignIn()
static bool _attemptedPassiveLogin
static string EditorUserAlias
static string UserId
static void Update()
const string c_accountIdLastUserKey
static bool _attemptingSignIn
static bool AttemptingSignIn
static void ClearCache()
static bool EditorAttemptingSignIn
static DateTime EditorSignInStart
static string EditorUserId
static string UserAlias