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
PlayerFileData.cs
Go to the documentation of this file.
1using System;
4using System.IO;
5using System.Linq;
11
12namespace Terraria.IO
13{
14 [global::Cpp2ILInjected.Token(Token = "0x2000562")]
15 public class PlayerFileData : FileData
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x1700066F")]
19 {
20 [global::Cpp2ILInjected.Token(Token = "0x600337A")]
21 [global::Cpp2ILInjected.Address(RVA = "0x133C048", Offset = "0x133C048", Length = "0x8")]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
23 get
24 {
25 throw null;
26 }
27 [global::Cpp2ILInjected.Token(Token = "0x600337B")]
28 [global::Cpp2ILInjected.Address(RVA = "0x133C050", Offset = "0x133C050", Length = "0x14")]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationState), Member = "ReadPlayerFileData", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player_OldConsole), Member = "LoadPlayer", MemberParameters = new object[]
31 {
32 typeof(string),
34 }, ReturnType = typeof(bool))]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player_OldSwitch), Member = "LoadPlayer", MemberParameters = new object[]
36 {
37 typeof(string),
39 }, ReturnType = typeof(bool))]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "LoadTutorialPlayer", ReturnType = typeof(PlayerFileData))]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "LoadPlayer", MemberParameters = new object[]
42 {
43 typeof(string),
44 typeof(bool)
45 }, ReturnType = typeof(PlayerFileData))]
46 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
47 set
48 {
49 throw null;
50 }
51 }
52
53 [global::Cpp2ILInjected.Token(Token = "0x600337C")]
54 [global::Cpp2ILInjected.Address(RVA = "0x133C064", Offset = "0x133C064", Length = "0xB0")]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIPlayerSelectMenu), Member = "SortPlayers", ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitsByte), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "get_IsAir", ReturnType = typeof(bool))]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Projectile), Member = ".ctor", ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Projectile), Member = "SetDefaults", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
61 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
63 {
64 throw null;
65 }
66
67 [global::Cpp2ILInjected.Token(Token = "0x600337D")]
68 [global::Cpp2ILInjected.Address(RVA = "0x133C114", Offset = "0x133C114", Length = "0xBC")]
69 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LocalUserGameState), Member = ".ctor", ReturnType = typeof(void))]
70 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationState), Member = "ReadPlayerFileData", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "KillMeForGood", ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "LoadTutorialPlayer", ReturnType = typeof(PlayerFileData))]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlayerFileData), Member = "CreateAndSave", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(PlayerFileData))]
74 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stopwatch), Member = ".ctor", ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
79 {
80 throw null;
81 }
82
83 [global::Cpp2ILInjected.Token(Token = "0x600337E")]
84 [global::Cpp2ILInjected.Address(RVA = "0x133C1D0", Offset = "0x133C1D0", Length = "0xC8")]
85 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "LoadPlayer", MemberParameters = new object[]
86 {
87 typeof(string),
88 typeof(bool)
89 }, ReturnType = typeof(PlayerFileData))]
90 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stopwatch), Member = ".ctor", ReturnType = typeof(void))]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileData), Member = ".ctor", MemberParameters = new object[]
93 {
94 typeof(string),
95 typeof(string),
96 typeof(bool)
97 }, ReturnType = typeof(void))]
98 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
99 public PlayerFileData(string path, bool cloudSave)
100 {
101 throw null;
102 }
103
104 [global::Cpp2ILInjected.Token(Token = "0x600337F")]
105 [global::Cpp2ILInjected.Address(RVA = "0x133C298", Offset = "0x133C298", Length = "0x17C")]
106 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
107 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIPlayerCreateMenu), Member = "CreateAndSave", ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "OnCharacterNamed", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
109 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerFileData), Member = ".ctor", ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileMetadata), Member = "FromCurrentSettings", MemberParameters = new object[] { typeof(FileType) }, ReturnType = typeof(FileMetadata))]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "GetPlayerPathFromName", MemberParameters = new object[]
113 {
114 typeof(string),
115 typeof(bool)
116 }, ReturnType = typeof(string))]
117 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_LocalFavoriteData", ReturnType = typeof(FavoritesFile))]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FavoritesFile), Member = "ClearEntry", MemberParameters = new object[] { typeof(FileData) }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_ActivePlayerFileData", MemberParameters = new object[] { typeof(PlayerFileData) }, ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "SavePlayer", MemberParameters = new object[]
121 {
123 typeof(bool),
124 typeof(bool)
125 }, ReturnType = typeof(void))]
126 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
127 public static PlayerFileData CreateAndSave(Player player)
128 {
129 throw null;
130 }
131
132 [global::Cpp2ILInjected.Token(Token = "0x6003380")]
133 [global::Cpp2ILInjected.Address(RVA = "0x133C414", Offset = "0x133C414", Length = "0x110")]
134 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_ActivePlayerFileData", MemberParameters = new object[] { typeof(PlayerFileData) }, ReturnType = typeof(void))]
136 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
137 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
138 public override void SetAsActive()
139 {
140 throw null;
141 }
142
143 [global::Cpp2ILInjected.Token(Token = "0x6003381")]
144 [global::Cpp2ILInjected.Address(RVA = "0x133C524", Offset = "0x133C524", Length = "0x37C")]
145 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
146 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
147 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "GetPlayerPathFromName", MemberParameters = new object[]
148 {
149 typeof(string),
150 typeof(bool)
151 }, ReturnType = typeof(string))]
152 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileUtilities), Member = "MoveToCloud", MemberParameters = new object[]
153 {
154 typeof(string),
155 typeof(string)
156 }, ReturnType = typeof(bool))]
157 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileData), Member = "GetFileName", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(string))]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_PlayerPath", ReturnType = typeof(string))]
159 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(char), Member = "ToString", ReturnType = typeof(string))]
160 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
161 {
162 typeof(string),
163 typeof(string),
164 typeof(string),
165 typeof(string)
166 }, ReturnType = typeof(string))]
167 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Directory), Member = "Exists", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
168 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Directory), Member = "GetFiles", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string[]))]
169 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileUtilities), Member = "GetFileName", MemberParameters = new object[]
170 {
171 typeof(string),
172 typeof(bool)
173 }, ReturnType = typeof(string))]
174 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[] { typeof(string[]) }, ReturnType = typeof(string))]
175 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_LocalFavoriteData", ReturnType = typeof(FavoritesFile))]
176 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FavoritesFile), Member = "ClearEntry", MemberParameters = new object[] { typeof(FileData) }, ReturnType = typeof(void))]
177 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FavoritesFile), Member = "SaveFavorite", MemberParameters = new object[] { typeof(FileData) }, ReturnType = typeof(void))]
178 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 21)]
179 public override void MoveToCloud()
180 {
181 throw null;
182 }
183
184 [global::Cpp2ILInjected.Token(Token = "0x6003382")]
185 [global::Cpp2ILInjected.Address(RVA = "0x133C8A0", Offset = "0x133C8A0", Length = "0x59C")]
186 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
187 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
188 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "GetPlayerPathFromName", MemberParameters = new object[]
189 {
190 typeof(string),
191 typeof(bool)
192 }, ReturnType = typeof(string))]
193 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileUtilities), Member = "MoveToLocal", MemberParameters = new object[]
194 {
195 typeof(string),
196 typeof(string)
197 }, ReturnType = typeof(bool))]
198 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerFileData.<>c__DisplayClass14_0), Member = ".ctor", ReturnType = typeof(void))]
199 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileData), Member = "GetFileName", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(string))]
200 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "Combine", MemberParameters = new object[]
201 {
202 typeof(string),
203 typeof(string)
204 }, ReturnType = typeof(string))]
205 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Func<object, bool>), Member = ".ctor", MemberParameters = new object[]
206 {
207 typeof(object),
209 }, ReturnType = typeof(void))]
210 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable[]), Member = "Where", MemberTypeParameters = new object[] { typeof(object) }, MemberParameters = new object[]
211 {
214 }, ReturnType = "System.Collections.Generic.IEnumerable`1<TSource>")]
215 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_PlayerPath", ReturnType = typeof(string))]
216 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileUtilities), Member = "GetFileName", MemberParameters = new object[]
217 {
218 typeof(string),
219 typeof(bool)
220 }, ReturnType = typeof(string))]
221 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "Combine", MemberParameters = new object[]
222 {
223 typeof(string),
224 typeof(string),
225 typeof(string)
226 }, ReturnType = typeof(string))]
227 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FavoritesFile), Member = "ClearEntry", MemberParameters = new object[] { typeof(FileData) }, ReturnType = typeof(void))]
228 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_LocalFavoriteData", ReturnType = typeof(FavoritesFile))]
229 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FavoritesFile), Member = "SaveFavorite", MemberParameters = new object[] { typeof(FileData) }, ReturnType = typeof(void))]
230 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 33)]
231 public override void MoveToLocal()
232 {
233 throw null;
234 }
235
236 [global::Cpp2ILInjected.Token(Token = "0x6003383")]
237 [global::Cpp2ILInjected.Address(RVA = "0x133CE3C", Offset = "0x133CE3C", Length = "0x9C")]
238 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
239 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "EndsWith", MemberParameters = new object[]
240 {
241 typeof(string),
243 }, ReturnType = typeof(bool))]
244 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
245 {
246 typeof(char),
247 typeof(char)
248 }, ReturnType = typeof(string))]
249 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "StartsWith", MemberParameters = new object[]
250 {
251 typeof(string),
253 }, ReturnType = typeof(bool))]
254 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
255 private bool MapBelongsToPath(string mapPath, string filePath)
256 {
257 throw null;
258 }
259
260 [global::Cpp2ILInjected.Token(Token = "0x6003384")]
261 [global::Cpp2ILInjected.Address(RVA = "0x133CED8", Offset = "0x133CED8", Length = "0x10C")]
262 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
263 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoUpdate", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
264 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
265 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_gameMenu", ReturnType = typeof(bool))]
266 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerFileData), Member = "StopPlayTimer", ReturnType = typeof(void))]
267 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stopwatch), Member = "Start", ReturnType = typeof(void))]
268 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
269 public void UpdatePlayTimer()
270 {
271 throw null;
272 }
273
274 [global::Cpp2ILInjected.Token(Token = "0x6003385")]
275 [global::Cpp2ILInjected.Address(RVA = "0x133D014", Offset = "0x133D014", Length = "0x4")]
276 [global::Cpp2ILInjected.CallAnalysis.CallAnalysisNotSupported]
277 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(XNAUnityRunner), Member = "OnApplicationPause", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
278 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
279 public void OnLostFocus()
280 {
281 throw null;
282 }
283
284 [global::Cpp2ILInjected.Token(Token = "0x6003386")]
285 [global::Cpp2ILInjected.Address(RVA = "0x133CFE4", Offset = "0x133CFE4", Length = "0x2C")]
286 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DedServ", ReturnType = typeof(void))]
287 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Spawn", MemberParameters = new object[] { typeof(PlayerSpawnContext) }, ReturnType = typeof(void))]
288 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
289 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stopwatch), Member = "Start", ReturnType = typeof(void))]
290 public void StartPlayTimer()
291 {
292 throw null;
293 }
294
295 [global::Cpp2ILInjected.Token(Token = "0x6003387")]
296 [global::Cpp2ILInjected.Address(RVA = "0x133D010", Offset = "0x133D010", Length = "0x4")]
297 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
298 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerFileData), Member = "StopPlayTimer", ReturnType = typeof(void))]
299 public void PausePlayTimer()
300 {
301 throw null;
302 }
303
304 [global::Cpp2ILInjected.Token(Token = "0x6003388")]
305 [global::Cpp2ILInjected.Address(RVA = "0x133D0C0", Offset = "0x133D0C0", Length = "0x88")]
306 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIPlayerSelectMenu), Member = "PlayerDraw", MemberParameters = new object[]
307 {
309 typeof(int),
311 typeof(float)
312 }, ReturnType = typeof(void))]
313 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUISaveSynchronisation_FileList), Member = "PlayerDraw", MemberParameters = new object[]
314 {
316 typeof(int),
318 typeof(float)
319 }, ReturnType = typeof(void))]
320 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationOperation_SendFileList), Member = "SendPlayerFile", MemberParameters = new object[] { typeof(PlayerFileData) }, ReturnType = typeof(void))]
321 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "InternalSavePlayerFile", MemberParameters = new object[] { typeof(PlayerFileData) }, ReturnType = typeof(void))]
322 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
323 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stopwatch), Member = "get_Elapsed", ReturnType = typeof(TimeSpan))]
324 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TimeSpan), Member = "op_Addition", MemberParameters = new object[]
325 {
328 }, ReturnType = typeof(TimeSpan))]
329 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
331 {
332 throw null;
333 }
334
335 [global::Cpp2ILInjected.Token(Token = "0x6003389")]
336 [global::Cpp2ILInjected.Address(RVA = "0x133D148", Offset = "0x133D148", Length = "0xB0")]
337 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
338 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stopwatch), Member = "get_Elapsed", ReturnType = typeof(TimeSpan))]
339 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TimeSpan), Member = "op_Addition", MemberParameters = new object[]
340 {
343 }, ReturnType = typeof(TimeSpan))]
344 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stopwatch), Member = "Reset", ReturnType = typeof(void))]
345 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stopwatch), Member = "Start", ReturnType = typeof(void))]
346 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
348 {
349 throw null;
350 }
351
352 [global::Cpp2ILInjected.Token(Token = "0x600338A")]
353 [global::Cpp2ILInjected.Address(RVA = "0x133D018", Offset = "0x133D018", Length = "0xA8")]
354 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "JustQuit", ReturnType = typeof(void))]
355 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "SaveAndQuitCallBack", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
356 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlayerFileData), Member = "UpdatePlayTimer", ReturnType = typeof(void))]
357 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlayerFileData), Member = "PausePlayTimer", ReturnType = typeof(void))]
358 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
359 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stopwatch), Member = "get_Elapsed", ReturnType = typeof(TimeSpan))]
360 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TimeSpan), Member = "op_Addition", MemberParameters = new object[]
361 {
364 }, ReturnType = typeof(TimeSpan))]
365 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stopwatch), Member = "Reset", ReturnType = typeof(void))]
366 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
367 public void StopPlayTimer()
368 {
369 throw null;
370 }
371
372 [global::Cpp2ILInjected.Token(Token = "0x600338B")]
373 [global::Cpp2ILInjected.Address(RVA = "0x133D1F8", Offset = "0x133D1F8", Length = "0x8")]
374 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
375 public void SetPlayTime(TimeSpan time)
376 {
377 throw null;
378 }
379
380 [global::Cpp2ILInjected.Token(Token = "0x600338C")]
381 [global::Cpp2ILInjected.Address(RVA = "0x133D200", Offset = "0x133D200", Length = "0x1084")]
382 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
383 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
384 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Trim", ReturnType = typeof(string))]
385 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "SavePlayer", MemberParameters = new object[]
386 {
388 typeof(bool),
389 typeof(bool)
390 }, ReturnType = typeof(void))]
391 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
392 public void Rename(string newName)
393 {
394 throw null;
395 }
396
397 [global::Cpp2ILInjected.Token(Token = "0x4003C46")]
398 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
400
401 [global::Cpp2ILInjected.Token(Token = "0x4003C47")]
402 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
404
405 [global::Cpp2ILInjected.Token(Token = "0x4003C48")]
406 [global::Cpp2ILInjected.FieldOffset(Offset = "0x50")]
408
409 [global::Cpp2ILInjected.Token(Token = "0x4003C49")]
410 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
411 private bool _isTimerActive;
412
413 [global::Cpp2ILInjected.Token(Token = "0x4003C4A")]
414 [global::Cpp2ILInjected.FieldOffset(Offset = "0x60")]
416
418 [global::Cpp2ILInjected.Token(Token = "0x2000563")]
419 private sealed class <>c__DisplayClass14_0
420 {
421 [global::Cpp2ILInjected.Token(Token = "0x600338D")]
422 [global::Cpp2ILInjected.Address(RVA = "0x133E284", Offset = "0x133E284", Length = "0x8")]
423 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlayerFileData), Member = "MoveToLocal", ReturnType = typeof(void))]
424 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
425 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
427 {
428 throw null;
429 }
430
431 [global::Cpp2ILInjected.Token(Token = "0x600338E")]
432 [global::Cpp2ILInjected.Address(RVA = "0x133E28C", Offset = "0x133E28C", Length = "0x7C")]
433 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
434 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "StartsWith", MemberParameters = new object[]
435 {
436 typeof(string),
438 }, ReturnType = typeof(bool))]
439 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "EndsWith", MemberParameters = new object[]
440 {
441 typeof(string),
443 }, ReturnType = typeof(bool))]
444 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
445 internal bool <MoveToLocal>b__0(string path)
446 {
447 throw null;
448 }
449
450 [global::Cpp2ILInjected.Token(Token = "0x4003C4B")]
451 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
452 public string mapPath;
453 }
454 }
455}
class f__AnonymousType0<< Count > j__TPar
FileData(string type)
Definition FileData.cs:52
readonly Stopwatch _timer
PlayerFileData(string path, bool cloudSave)
bool MapBelongsToPath(string mapPath, string filePath)
void Rename(string newName)
void SetPlayTime(TimeSpan time)
static PlayerFileData CreateAndSave(Player player)