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
CacheFileManager.cs
Go to the documentation of this file.
1using System;
3using System.IO;
7using Terraria.IO;
9using UnityEngine;
11
12[global::Cpp2ILInjected.Token(Token = "0x200006B")]
14{
15 [global::Cpp2ILInjected.Token(Token = "0x6000236")]
16 [global::Cpp2ILInjected.Address(RVA = "0x70D3C8", Offset = "0x70D3C8", Length = "0x178")]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileManager), Member = ".ctor", MemberParameters = new object[]
18 {
20 typeof(bool)
21 }, ReturnType = typeof(void))]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ManualResetEvent), Member = ".ctor", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ParameterizedThreadStart), Member = ".ctor", MemberParameters = new object[]
27 {
28 typeof(object),
30 }, ReturnType = typeof(void))]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadManager), Member = "Run", MemberParameters = new object[]
32 {
33 typeof(ParameterizedThreadStart),
34 typeof(object)
35 }, ReturnType = typeof(ManagedThread))]
36 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
38 {
39 throw null;
40 }
41
42 [global::Cpp2ILInjected.Token(Token = "0x6000237")]
43 [global::Cpp2ILInjected.Address(RVA = "0x70D540", Offset = "0x70D540", Length = "0xA8")]
44 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileManager), Member = "Shutdown", ReturnType = typeof(void))]
45 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadManager), Member = "TerminateThread", MemberParameters = new object[] { typeof(ManagedThread) }, ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
48 public void Shutdown()
49 {
50 throw null;
51 }
52
53 [global::Cpp2ILInjected.Token(Token = "0x6000238")]
54 [global::Cpp2ILInjected.Address(RVA = "0x70D5E8", Offset = "0x70D5E8", Length = "0xB8")]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileManager), Member = "SynchroniseFiles", ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EventWaitHandle), Member = "Reset", ReturnType = typeof(bool))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ParameterizedThreadStart), Member = ".ctor", MemberParameters = new object[]
59 {
60 typeof(object),
62 }, ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadManager), Member = "Run", MemberParameters = new object[]
64 {
65 typeof(ParameterizedThreadStart),
66 typeof(object)
67 }, ReturnType = typeof(ManagedThread))]
68 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
69 public void ResyncFiles()
70 {
71 throw null;
72 }
73
74 [global::Cpp2ILInjected.Token(Token = "0x6000239")]
75 [global::Cpp2ILInjected.Address(RVA = "0x70D6A0", Offset = "0x70D6A0", Length = "0x494")]
76 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
77 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
78 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Clear", MemberParameters = new object[]
79 {
81 typeof(int),
82 typeof(int)
83 }, ReturnType = typeof(void))]
84 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CacheFileManager), Member = "SyncFolder", MemberParameters = new object[]
85 {
86 typeof(string),
87 typeof(bool)
88 }, ReturnType = typeof(void))]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "Combine", MemberParameters = new object[]
90 {
91 typeof(string),
92 typeof(string)
93 }, ReturnType = typeof(string))]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CacheFileManager), Member = "InSync", ReturnType = typeof(void))]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Profiler), Member = "EndThreadProfiling", ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "LogError", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
97 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 25)]
98 public void FileSyncInternal(object threadContext)
99 {
100 throw null;
101 }
102
103 [global::Cpp2ILInjected.Token(Token = "0x600023A")]
104 [global::Cpp2ILInjected.Address(RVA = "0x70DB34", Offset = "0x70DB34", Length = "0x214")]
105 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
106 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CacheFileManager), Member = "FileSyncInternal", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
107 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CacheFileManager), Member = "SyncFolder", MemberParameters = new object[]
108 {
109 typeof(string),
110 typeof(bool)
111 }, ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CacheFileManager), Member = "SyncFolder", MemberParameters = new object[]
114 {
115 typeof(string),
116 typeof(bool)
117 }, ReturnType = typeof(void))]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CacheFileManager), Member = "SyncFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
120 private void SyncFolder(string folderPath, bool recursive = false)
121 {
122 throw null;
123 }
124
125 [global::Cpp2ILInjected.Token(Token = "0x600023B")]
126 [global::Cpp2ILInjected.Address(RVA = "0x70DFC8", Offset = "0x70DFC8", Length = "0x21C")]
127 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
128 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CacheFileManager), Member = "SyncFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
129 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CacheFileManager), Member = "WriteFile", MemberParameters = new object[]
130 {
131 typeof(string),
132 typeof(byte[])
133 }, ReturnType = typeof(void))]
134 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CacheFileManager), Member = "Delete", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
135 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CacheFileManager), Member = "ReadFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(byte[]))]
136 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CacheFileManager), Member = "Exists", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
137 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileManager), Member = "Exists", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
138 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileManager), Member = "ReadAllBytes", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(byte[]))]
139 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CacheFileManager), Member = "CleanPath", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
144 {
145 typeof(string),
146 typeof(string)
147 }, ReturnType = typeof(bool))]
148 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
149 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
150 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
151 private CachedFile GetFile(string path, bool create = true)
152 {
153 throw null;
154 }
155
156 [global::Cpp2ILInjected.Token(Token = "0x600023C")]
157 [global::Cpp2ILInjected.Address(RVA = "0x70DE44", Offset = "0x70DE44", Length = "0x184")]
158 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
159 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CacheFileManager), Member = "SyncFolder", MemberParameters = new object[]
160 {
161 typeof(string),
162 typeof(bool)
163 }, ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
165 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CacheFileManager), Member = "GetFile", MemberParameters = new object[]
166 {
167 typeof(string),
168 typeof(bool)
169 }, ReturnType = typeof(CachedFile))]
170 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
171 {
172 typeof(string),
173 typeof(string),
174 typeof(string),
175 typeof(string)
176 }, ReturnType = typeof(string))]
177 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
178 {
179 typeof(string),
180 typeof(string)
181 }, ReturnType = typeof(string))]
182 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "LogError", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
183 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
184 public void SyncFile(string filePath)
185 {
186 throw null;
187 }
188
189 [global::Cpp2ILInjected.Token(Token = "0x600023D")]
190 [global::Cpp2ILInjected.Address(RVA = "0x70E284", Offset = "0x70E284", Length = "0x544")]
191 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
192 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
193 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
194 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UserManagement), Member = "FindLocalUserByUser", MemberParameters = new object[] { typeof(PlatformUser) }, ReturnType = typeof(LocalUser))]
195 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LocalUser), Member = "LoadThreadstate", ReturnType = typeof(void))]
196 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Clear", MemberParameters = new object[]
197 {
198 typeof(Array),
199 typeof(int),
200 typeof(int)
201 }, ReturnType = typeof(void))]
202 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CacheFileManager), Member = "GetFileModifications", MemberParameters = new object[] { typeof(List<CachedFile>) }, ReturnType = typeof(void))]
203 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
204 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
205 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
206 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "LogError", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
207 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Profiler), Member = "EndThreadProfiling", ReturnType = typeof(void))]
208 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 32)]
209 private void FileUpload(object threadContext)
210 {
211 throw null;
212 }
213
214 [global::Cpp2ILInjected.Token(Token = "0x600023E")]
215 [global::Cpp2ILInjected.Address(RVA = "0x70E904", Offset = "0x70E904", Length = "0x8")]
216 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
217 public string GetUserSavePath()
218 {
219 throw null;
220 }
221
222 [global::Cpp2ILInjected.Token(Token = "0x600023F")]
223 [global::Cpp2ILInjected.Address(RVA = "0x70E90C", Offset = "0x70E90C", Length = "0x4")]
224 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
225 public void LegacySync()
226 {
227 throw null;
228 }
229
230 [global::Cpp2ILInjected.Token(Token = "0x6000240")]
231 [global::Cpp2ILInjected.Address(RVA = "0x70E910", Offset = "0x70E910", Length = "0x4")]
232 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
233 public void Mount(bool forSync)
234 {
235 throw null;
236 }
237
238 [global::Cpp2ILInjected.Token(Token = "0x6000241")]
239 [global::Cpp2ILInjected.Address(RVA = "0x70E914", Offset = "0x70E914", Length = "0x4")]
240 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
241 public void Unmount(bool forSync)
242 {
243 throw null;
244 }
245
246 [global::Cpp2ILInjected.Token(Token = "0x6000242")]
247 [global::Cpp2ILInjected.Address(RVA = "0x70E918", Offset = "0x70E918", Length = "0x4")]
248 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
249 public void CreateDirectory(string directory)
250 {
251 throw null;
252 }
253
254 [global::Cpp2ILInjected.Token(Token = "0x6000243")]
255 [global::Cpp2ILInjected.Address(RVA = "0x70DD48", Offset = "0x70DD48", Length = "0xFC")]
256 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
257 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CacheFileManager), Member = "FileSyncInternal", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
258 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
259 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
260 {
261 typeof(object),
262 typeof(ref bool)
263 }, ReturnType = typeof(void))]
264 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EventWaitHandle), Member = "Set", ReturnType = typeof(bool))]
265 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
266 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
267 public void InSync()
268 {
269 throw null;
270 }
271
272 [global::Cpp2ILInjected.Token(Token = "0x6000244")]
273 [global::Cpp2ILInjected.Address(RVA = "0x70E91C", Offset = "0x70E91C", Length = "0x1E8")]
274 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
275 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileManager), Member = "WriteAllBytes", MemberParameters = new object[]
276 {
277 typeof(string),
278 typeof(byte[])
279 }, ReturnType = typeof(void))]
280 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
281 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Now", ReturnType = typeof(DateTime))]
282 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CacheFileManager), Member = "GetFile", MemberParameters = new object[]
283 {
284 typeof(string),
285 typeof(bool)
286 }, ReturnType = typeof(CachedFile))]
287 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
288 {
289 typeof(object),
290 typeof(ref bool)
291 }, ReturnType = typeof(void))]
292 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "Contains", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
293 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EventWaitHandle), Member = "Set", ReturnType = typeof(bool))]
294 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
295 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
296 public void WriteFile(string filename, byte[] fileData)
297 {
298 throw null;
299 }
300
301 [global::Cpp2ILInjected.Token(Token = "0x6000245")]
302 [global::Cpp2ILInjected.Address(RVA = "0x70EB04", Offset = "0x70EB04", Length = "0x1B0")]
303 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
304 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileManager), Member = "Delete", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
305 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
306 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CacheFileManager), Member = "GetFile", MemberParameters = new object[]
307 {
308 typeof(string),
309 typeof(bool)
310 }, ReturnType = typeof(CachedFile))]
311 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
312 {
313 typeof(object),
314 typeof(ref bool)
315 }, ReturnType = typeof(void))]
316 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "Contains", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
317 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EventWaitHandle), Member = "Set", ReturnType = typeof(bool))]
318 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
319 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
320 public void Delete(string filename)
321 {
322 throw null;
323 }
324
325 [global::Cpp2ILInjected.Token(Token = "0x6000246")]
326 [global::Cpp2ILInjected.Address(RVA = "0x70ECB4", Offset = "0x70ECB4", Length = "0x1C")]
327 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
328 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CacheFileManager), Member = "GetFile", MemberParameters = new object[]
329 {
330 typeof(string),
331 typeof(bool)
332 }, ReturnType = typeof(CachedFile))]
333 public byte[] ReadFile(string filename)
334 {
335 throw null;
336 }
337
338 [global::Cpp2ILInjected.Token(Token = "0x6000247")]
339 [global::Cpp2ILInjected.Address(RVA = "0x70E1E4", Offset = "0x70E1E4", Length = "0xA0")]
340 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CacheFileManager), Member = "GetFile", MemberParameters = new object[]
341 {
342 typeof(string),
343 typeof(bool)
344 }, ReturnType = typeof(CachedFile))]
345 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CacheFileManager), Member = "GetFiles", MemberParameters = new object[]
346 {
347 typeof(string),
348 typeof(string)
349 }, ReturnType = typeof(string[]))]
350 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIPlayerSelectMenu), Member = "SelectAndHighlight", MemberParameters = new object[] { typeof(PlayerFileData) }, ReturnType = typeof(void))]
351 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIWorldSelectMenu), Member = "SelectAndHighlight", MemberParameters = new object[] { typeof(WorldFileData) }, ReturnType = typeof(void))]
352 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
353 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileUtilities), Member = "CleanSwitchPath", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
354 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
355 {
356 typeof(char),
357 typeof(char)
358 }, ReturnType = typeof(string))]
359 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
360 {
361 typeof(string),
362 typeof(string)
363 }, ReturnType = typeof(string))]
364 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
365 public string CleanPath(string path)
366 {
367 throw null;
368 }
369
370 [global::Cpp2ILInjected.Token(Token = "0x6000248")]
371 [global::Cpp2ILInjected.Address(RVA = "0x70ECD0", Offset = "0x70ECD0", Length = "0x2A0")]
372 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
373 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileManager), Member = "GetFiles", MemberParameters = new object[]
374 {
375 typeof(string),
376 typeof(string)
377 }, ReturnType = typeof(string[]))]
378 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
379 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CacheFileManager), Member = "CleanPath", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
380 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
381 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
382 {
383 typeof(string),
384 typeof(string)
385 }, ReturnType = typeof(string))]
386 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
387 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
388 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "StartsWith", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
389 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "EndsWith", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
390 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
391 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "ToArray", ReturnType = "T[]")]
392 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
393 public string[] GetFiles(string path, string searchPattern)
394 {
395 throw null;
396 }
397
398 [global::Cpp2ILInjected.Token(Token = "0x6000249")]
399 [global::Cpp2ILInjected.Address(RVA = "0x70EF70", Offset = "0x70EF70", Length = "0x44")]
400 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
401 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
402 public string[] GetFolders(string path)
403 {
404 throw null;
405 }
406
407 [global::Cpp2ILInjected.Token(Token = "0x600024A")]
408 [global::Cpp2ILInjected.Address(RVA = "0x70E7C8", Offset = "0x70E7C8", Length = "0x13C")]
409 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
410 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CacheFileManager), Member = "FileUpload", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
411 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
412 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
413 {
414 typeof(object),
415 typeof(ref bool)
416 }, ReturnType = typeof(void))]
417 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "AddRange", MemberParameters = new object[] { typeof(IEnumerable<object>) }, ReturnType = typeof(void))]
418 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Clear", MemberParameters = new object[]
419 {
420 typeof(Array),
421 typeof(int),
422 typeof(int)
423 }, ReturnType = typeof(void))]
424 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EventWaitHandle), Member = "Reset", ReturnType = typeof(bool))]
425 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
426 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
428 {
429 throw null;
430 }
431
432 [global::Cpp2ILInjected.Token(Token = "0x600024B")]
433 [global::Cpp2ILInjected.Address(RVA = "0x70EFB4", Offset = "0x70EFB4", Length = "0x24")]
434 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
435 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
436 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CacheFileManager), Member = "GetFile", MemberParameters = new object[]
437 {
438 typeof(string),
439 typeof(bool)
440 }, ReturnType = typeof(CachedFile))]
441 public bool Exists(string filename)
442 {
443 throw null;
444 }
445
446 [global::Cpp2ILInjected.Token(Token = "0x600024C")]
447 [global::Cpp2ILInjected.Address(RVA = "0x70EFD8", Offset = "0x70EFD8", Length = "0x4")]
448 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
449 public void SetAttributes(string filename, FileAttributes fileAttributes)
450 {
451 throw null;
452 }
453
454 [global::Cpp2ILInjected.Token(Token = "0x400020C")]
455 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
456 public bool UploadingFiles;
457
458 [global::Cpp2ILInjected.Token(Token = "0x400020D")]
459 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
461
462 [global::Cpp2ILInjected.Token(Token = "0x400020E")]
463 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
465
466 [global::Cpp2ILInjected.Token(Token = "0x400020F")]
467 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
469
470 [global::Cpp2ILInjected.Token(Token = "0x4000210")]
471 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
473
474 [global::Cpp2ILInjected.Token(Token = "0x4000211")]
475 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
477
478 [global::Cpp2ILInjected.Token(Token = "0x4000212")]
479 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
480 private readonly bool PrimaryUser;
481
482 [global::Cpp2ILInjected.Token(Token = "0x4000213")]
483 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
485
486 [global::Cpp2ILInjected.Token(Token = "0x4000214")]
487 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
489
490 [global::Cpp2ILInjected.Token(Token = "0x4000215")]
491 [global::Cpp2ILInjected.FieldOffset(Offset = "0x60")]
493
494 [global::Cpp2ILInjected.Token(Token = "0x4000216")]
495 [global::Cpp2ILInjected.FieldOffset(Offset = "0x68")]
496 private string _userSavePath;
497}
class f__AnonymousType0<< Count > j__TPar
void FileSyncInternal(object threadContext)
CachedFile GetFile(string path, bool create=true)
string[] GetFiles(string path, string searchPattern)
ManagedThread SyncThread
bool Exists(string filename)
ManualResetEvent uploadPending
readonly FileAPI fileAPI
List< CachedFile > modifications
byte[] ReadFile(string filename)
void Mount(bool forSync)
string CleanPath(string path)
void SyncFolder(string folderPath, bool recursive=false)
void WriteFile(string filename, byte[] fileData)
readonly bool PrimaryUser
void GetFileModifications(List< CachedFile > files)
ManagedThread UploadThread
CacheFileManager(FileManager fileMan, FileAPI api, bool primaryUser, PlatformUser user)
readonly PlatformUser User
void FileUpload(object threadContext)
readonly FileManager fileManager
void Delete(string filename)
void SetAttributes(string filename, FileAttributes fileAttributes)
void Unmount(bool forSync)
string[] GetFolders(string path)
void CreateDirectory(string directory)
List< CachedFile > allFiles
void SyncFile(string filePath)