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
CloudSocialModule.cs
Go to the documentation of this file.
1using System;
3using System.IO;
9
11{
12 [global::Cpp2ILInjected.Token(Token = "0x2000514")]
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x600315B")]
16 [global::Cpp2ILInjected.Address(RVA = "0x1304E3C", Offset = "0x1304E3C", Length = "0xC")]
17 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
18 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CloudSocialModule), Member = "Initialize", ReturnType = typeof(void))]
19 public override void Initialize()
20 {
21 throw null;
22 }
23
24 [global::Cpp2ILInjected.Token(Token = "0x600315C")]
25 [global::Cpp2ILInjected.Address(RVA = "0x1304E50", Offset = "0x1304E50", Length = "0x4")]
26 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
27 public override void Shutdown()
28 {
29 throw null;
30 }
31
32 [global::Cpp2ILInjected.Token(Token = "0x600315D")]
33 [global::Cpp2ILInjected.Address(RVA = "0x1304E54", Offset = "0x1304E54", Length = "0x14")]
34 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
35 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
36 {
37 typeof(string),
38 typeof(string)
39 }, ReturnType = typeof(string))]
40 public void SyncFiles(string path)
41 {
42 throw null;
43 }
44
45 [global::Cpp2ILInjected.Token(Token = "0x600315E")]
46 [global::Cpp2ILInjected.Address(RVA = "0x1304E68", Offset = "0x1304E68", Length = "0xD8")]
47 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
48 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
49 public bool HasFinishedSync()
50 {
51 throw null;
52 }
53
54 [global::Cpp2ILInjected.Token(Token = "0x600315F")]
55 [global::Cpp2ILInjected.Address(RVA = "0x1304E48", Offset = "0x1304E48", Length = "0x8")]
56 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIPlayerSelectMenu), Member = "Draw", ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIWorldSelectMenu), Member = "Draw", ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
59 public bool IsRequired()
60 {
61 throw null;
62 }
63
64 [global::Cpp2ILInjected.Token(Token = "0x6003160")]
65 [global::Cpp2ILInjected.Address(RVA = "0x1305024", Offset = "0x1305024", Length = "0x8")]
66 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIPlayerSelectMenu), Member = "Draw", ReturnType = typeof(void))]
67 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIPlayerSelectMenu), Member = "PlayerDraw", MemberParameters = new object[]
68 {
70 typeof(int),
72 typeof(float)
73 }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIWorldSelectMenu), Member = "Draw", ReturnType = typeof(void))]
75 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIWorldSelectMenu), Member = "WorldDraw", MemberParameters = new object[]
76 {
78 typeof(int),
80 typeof(float)
81 }, ReturnType = typeof(void))]
82 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
83 public bool IsAvailable()
84 {
85 throw null;
86 }
87
88 [global::Cpp2ILInjected.Token(Token = "0x6003161")]
89 [global::Cpp2ILInjected.Address(RVA = "0x130502C", Offset = "0x130502C", Length = "0x8")]
90 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIPlayerSelectMenu), Member = "Draw", ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIWorldSelectMenu), Member = "Draw", ReturnType = typeof(void))]
92 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
93 public bool IsConnected()
94 {
95 throw null;
96 }
97
98 [global::Cpp2ILInjected.Token(Token = "0x6003162")]
99 [global::Cpp2ILInjected.Address(RVA = "0x1305034", Offset = "0x1305034", Length = "0x158")]
100 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
101 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Directory), Member = "CreateDirectory", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(DirectoryInfo))]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Directory), Member = "GetFiles", MemberParameters = new object[]
104 {
105 typeof(string),
106 typeof(string)
107 }, ReturnType = typeof(string[]))]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
110 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
112 {
113 throw null;
114 }
115
116 [global::Cpp2ILInjected.Token(Token = "0x6003163")]
117 [global::Cpp2ILInjected.Address(RVA = "0x1304F40", Offset = "0x1304F40", Length = "0xE4")]
118 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
119 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CloudSocialModule), Member = "Write", MemberParameters = new object[]
120 {
121 typeof(string),
122 typeof(byte[]),
123 typeof(int)
124 }, ReturnType = typeof(bool))]
125 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
126 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Regex), Member = "Match", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Match))]
127 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GroupCollection), Member = "get_Item", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Group))]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Capture), Member = "get_Value", ReturnType = typeof(string))]
129 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
130 public static string GetParentFolderPath(string path, bool includeExtension = true)
131 {
132 throw null;
133 }
134
135 [global::Cpp2ILInjected.Token(Token = "0x6003164")]
136 [global::Cpp2ILInjected.Address(RVA = "0x130518C", Offset = "0x130518C", Length = "0x120")]
137 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
138 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
140 {
141 typeof(string),
142 typeof(string)
143 }, ReturnType = typeof(string))]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CloudSocialModule), Member = "GetParentFolderPath", MemberParameters = new object[]
145 {
146 typeof(string),
147 typeof(bool)
148 }, ReturnType = typeof(string))]
149 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Inequality", MemberParameters = new object[]
150 {
151 typeof(string),
152 typeof(string)
153 }, ReturnType = typeof(bool))]
154 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Directory), Member = "CreateDirectory", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(DirectoryInfo))]
155 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Copy", MemberParameters = new object[]
156 {
157 typeof(Array),
158 typeof(Array),
159 typeof(int)
160 }, ReturnType = typeof(void))]
161 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(File), Member = "WriteAllBytes", MemberParameters = new object[]
162 {
163 typeof(string),
164 typeof(byte[])
165 }, ReturnType = typeof(void))]
166 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
167 public override bool Write(string path, byte[] data, int length)
168 {
169 throw null;
170 }
171
172 [global::Cpp2ILInjected.Token(Token = "0x6003165")]
173 [global::Cpp2ILInjected.Address(RVA = "0x13052AC", Offset = "0x13052AC", Length = "0x64")]
174 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
175 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
176 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
177 {
178 typeof(string),
179 typeof(string)
180 }, ReturnType = typeof(string))]
181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(File), Member = "ReadAllBytes", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(byte[]))]
182 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Copy", MemberParameters = new object[]
183 {
184 typeof(Array),
185 typeof(Array),
186 typeof(int)
187 }, ReturnType = typeof(void))]
188 public override void Read(string path, byte[] buffer, int length)
189 {
190 throw null;
191 }
192
193 [global::Cpp2ILInjected.Token(Token = "0x6003166")]
194 [global::Cpp2ILInjected.Address(RVA = "0x1305310", Offset = "0x1305310", Length = "0x74")]
195 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
196 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
197 {
198 typeof(string),
199 typeof(string)
200 }, ReturnType = typeof(string))]
201 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(File), Member = "Exists", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
202 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
203 public override bool HasFile(string path)
204 {
205 throw null;
206 }
207
208 [global::Cpp2ILInjected.Token(Token = "0x6003167")]
209 [global::Cpp2ILInjected.Address(RVA = "0x1305384", Offset = "0x1305384", Length = "0x24")]
210 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
211 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
212 {
213 typeof(string),
214 typeof(string)
215 }, ReturnType = typeof(string))]
216 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(File), Member = "ReadAllBytes", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(byte[]))]
217 public override int GetFileSize(string path)
218 {
219 throw null;
220 }
221
222 [global::Cpp2ILInjected.Token(Token = "0x6003168")]
223 [global::Cpp2ILInjected.Address(RVA = "0x13053A8", Offset = "0x13053A8", Length = "0x24")]
224 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
225 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
226 {
227 typeof(string),
228 typeof(string)
229 }, ReturnType = typeof(string))]
230 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(File), Member = "Delete", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
231 public override bool Delete(string path)
232 {
233 throw null;
234 }
235
236 [global::Cpp2ILInjected.Token(Token = "0x6003169")]
237 [global::Cpp2ILInjected.Address(RVA = "0x13053CC", Offset = "0x13053CC", Length = "0x8")]
238 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
239 public override bool Forget(string path)
240 {
241 throw null;
242 }
243
244 [global::Cpp2ILInjected.Token(Token = "0x600316A")]
245 [global::Cpp2ILInjected.Address(RVA = "0x13053D4", Offset = "0x13053D4", Length = "0xB0")]
246 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
247 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SavePath", ReturnType = typeof(string))]
248 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
249 {
250 typeof(string),
251 typeof(string)
252 }, ReturnType = typeof(string))]
253 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CloudSocialModule), Member = ".ctor", ReturnType = typeof(void))]
254 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
256 {
257 throw null;
258 }
259
260 // Note: this type is marked as 'beforefieldinit'.
261 [global::Cpp2ILInjected.Token(Token = "0x600316B")]
262 [global::Cpp2ILInjected.Address(RVA = "0x1305484", Offset = "0x1305484", Length = "0x1094")]
263 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
264 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
265 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Regex), Member = ".ctor", MemberParameters = new object[]
266 {
267 typeof(string),
269 }, ReturnType = typeof(void))]
270 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
272 {
273 throw null;
274 }
275
276 [global::Cpp2ILInjected.Token(Token = "0x4003B18")]
277 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
278 private string editorRemoteCache;
279
280 [global::Cpp2ILInjected.Token(Token = "0x4003B19")]
281 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
282 private string cacheFolder;
283
284 [global::Cpp2ILInjected.Token(Token = "0x4003B1A")]
285 private static Regex FileNameRegex;
286
287 [global::Cpp2ILInjected.Token(Token = "0x4003B1B")]
288 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
289 private string SyncPath;
290
291 [global::Cpp2ILInjected.Token(Token = "0x4003B1C")]
292 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
294 }
295}
class f__AnonymousType0<< Count > j__TPar
static string GetParentFolderPath(string path, bool includeExtension=true)
override bool Write(string path, byte[] data, int length)
override void Read(string path, byte[] buffer, int length)
override IEnumerable< string > GetFiles()