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
TileEntity.cs
Go to the documentation of this file.
1using System;
3using System.IO;
10using Terraria.Audio;
15using Terraria.IO;
17
19{
20 [global::Cpp2ILInjected.Token(Token = "0x200067E")]
21 public abstract class TileEntity
22 {
23 [global::Cpp2ILInjected.Token(Token = "0x6003753")]
24 [global::Cpp2ILInjected.Address(RVA = "0x141EDBC", Offset = "0x141EDBC", Length = "0x60")]
25 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEDisplayDoll), Member = "Place", MemberParameters = new object[]
26 {
27 typeof(int),
28 typeof(int)
29 }, ReturnType = typeof(int))]
30 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEFoodPlatter), Member = "Place", MemberParameters = new object[]
31 {
32 typeof(int),
33 typeof(int)
34 }, ReturnType = typeof(int))]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEHatRack), Member = "Place", MemberParameters = new object[]
36 {
37 typeof(int),
38 typeof(int)
39 }, ReturnType = typeof(int))]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEItemFrame), Member = "Place", MemberParameters = new object[]
41 {
42 typeof(int),
43 typeof(int)
44 }, ReturnType = typeof(int))]
45 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TELogicSensor), Member = "Place", MemberParameters = new object[]
46 {
47 typeof(int),
48 typeof(int)
49 }, ReturnType = typeof(int))]
50 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TETeleportationPylon), Member = "Place", MemberParameters = new object[]
51 {
52 typeof(int),
53 typeof(int)
54 }, ReturnType = typeof(int))]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TETrainingDummy), Member = "Place", MemberParameters = new object[]
56 {
57 typeof(int),
58 typeof(int)
59 }, ReturnType = typeof(int))]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEWeaponsRack), Member = "Place", MemberParameters = new object[]
61 {
62 typeof(int),
63 typeof(int)
64 }, ReturnType = typeof(int))]
65 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
66 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
67 public static int AssignNewID()
68 {
69 throw null;
70 }
71
72 [global::Cpp2ILInjected.Token(Token = "0x1400003F")]
73 public static event Action _UpdateStart
74 {
76 [global::Cpp2ILInjected.Token(Token = "0x6003754")]
77 [global::Cpp2ILInjected.Address(RVA = "0x141EE1C", Offset = "0x141EE1C", Length = "0xDC")]
78 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
79 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TELogicSensor), Member = "RegisterTileEntityID", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
80 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TETrainingDummy), Member = "RegisterTileEntityID", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Delegate), Member = "Combine", MemberParameters = new object[]
83 {
86 }, ReturnType = typeof(Delegate))]
87 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
88 add
89 {
90 throw null;
91 }
93 [global::Cpp2ILInjected.Token(Token = "0x6003755")]
94 [global::Cpp2ILInjected.Address(RVA = "0x141EEF8", Offset = "0x141EEF8", Length = "0xDC")]
95 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
96 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
97 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Delegate), Member = "Remove", MemberParameters = new object[]
98 {
101 }, ReturnType = typeof(Delegate))]
102 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
103 remove
104 {
105 throw null;
106 }
107 }
108
109 [global::Cpp2ILInjected.Token(Token = "0x14000040")]
110 public static event Action _UpdateEnd
111 {
113 [global::Cpp2ILInjected.Token(Token = "0x6003756")]
114 [global::Cpp2ILInjected.Address(RVA = "0x141EFD4", Offset = "0x141EFD4", Length = "0xDC")]
115 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
116 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TELogicSensor), Member = "RegisterTileEntityID", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
117 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Delegate), Member = "Combine", MemberParameters = new object[]
119 {
122 }, ReturnType = typeof(Delegate))]
123 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
124 add
125 {
126 throw null;
127 }
129 [global::Cpp2ILInjected.Token(Token = "0x6003757")]
130 [global::Cpp2ILInjected.Address(RVA = "0x141F0B0", Offset = "0x141F0B0", Length = "0xDC")]
131 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
132 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Delegate), Member = "Remove", MemberParameters = new object[]
134 {
137 }, ReturnType = typeof(Delegate))]
138 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
139 remove
140 {
141 throw null;
142 }
143 }
144
145 [global::Cpp2ILInjected.Token(Token = "0x6003758")]
146 [global::Cpp2ILInjected.Address(RVA = "0x141F18C", Offset = "0x141F18C", Length = "0x94")]
147 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldConsole), Member = "LoadTileEntities", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(void))]
148 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldSwitch), Member = "LoadTileEntities", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(void))]
149 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "clearWorld", ReturnType = typeof(void))]
150 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
151 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "Clear", ReturnType = typeof(void))]
152 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
153 public static void Clear()
154 {
155 throw null;
156 }
157
158 [global::Cpp2ILInjected.Token(Token = "0x6003759")]
159 [global::Cpp2ILInjected.Address(RVA = "0x141F220", Offset = "0x141F220", Length = "0x8C")]
160 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "UpdateWorld", ReturnType = typeof(void))]
161 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
162 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
163 public static void UpdateStart()
164 {
165 throw null;
166 }
167
168 [global::Cpp2ILInjected.Token(Token = "0x600375A")]
169 [global::Cpp2ILInjected.Address(RVA = "0x141F2AC", Offset = "0x141F2AC", Length = "0x8C")]
170 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "UpdateWorld", ReturnType = typeof(void))]
171 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
172 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
173 public static void UpdateEnd()
174 {
175 throw null;
176 }
177
178 [global::Cpp2ILInjected.Token(Token = "0x600375B")]
179 [global::Cpp2ILInjected.Address(RVA = "0x141F338", Offset = "0x141F338", Length = "0x88")]
180 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "Initialize_AlmostEverything", ReturnType = typeof(void))]
181 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
182 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileEntitiesManager), Member = ".ctor", ReturnType = typeof(void))]
183 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileEntitiesManager), Member = "RegisterAll", ReturnType = typeof(void))]
184 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
185 public static void InitializeAll()
186 {
187 throw null;
188 }
189
190 [global::Cpp2ILInjected.Token(Token = "0x600375C")]
191 [global::Cpp2ILInjected.Address(RVA = "0x141F3C0", Offset = "0x141F3C0", Length = "0x8")]
192 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldConsole), Member = "LoadTileEntities", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(void))]
193 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldSwitch), Member = "LoadTileEntities", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(void))]
194 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
195 {
196 typeof(byte[]),
197 typeof(int),
198 typeof(ref int)
199 }, ReturnType = typeof(void))]
200 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile), Member = "LoadTileEntities", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(void))]
201 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEDisplayDoll), Member = "Kill", MemberParameters = new object[]
202 {
203 typeof(int),
204 typeof(int)
205 }, ReturnType = typeof(void))]
206 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEDisplayDoll), Member = "Find", MemberParameters = new object[]
207 {
208 typeof(int),
209 typeof(int)
210 }, ReturnType = typeof(int))]
211 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEFoodPlatter), Member = "Kill", MemberParameters = new object[]
212 {
213 typeof(int),
214 typeof(int)
215 }, ReturnType = typeof(void))]
216 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEFoodPlatter), Member = "Find", MemberParameters = new object[]
217 {
218 typeof(int),
219 typeof(int)
220 }, ReturnType = typeof(int))]
221 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEHatRack), Member = "Kill", MemberParameters = new object[]
222 {
223 typeof(int),
224 typeof(int)
225 }, ReturnType = typeof(void))]
226 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEHatRack), Member = "Find", MemberParameters = new object[]
227 {
228 typeof(int),
229 typeof(int)
230 }, ReturnType = typeof(int))]
231 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEItemFrame), Member = "Kill", MemberParameters = new object[]
232 {
233 typeof(int),
234 typeof(int)
235 }, ReturnType = typeof(void))]
236 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEItemFrame), Member = "Find", MemberParameters = new object[]
237 {
238 typeof(int),
239 typeof(int)
240 }, ReturnType = typeof(int))]
241 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TELogicSensor), Member = "Kill", MemberParameters = new object[]
242 {
243 typeof(int),
244 typeof(int)
245 }, ReturnType = typeof(void))]
246 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TELogicSensor), Member = "Find", MemberParameters = new object[]
247 {
248 typeof(int),
249 typeof(int)
250 }, ReturnType = typeof(int))]
251 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TETeleportationPylon), Member = "Kill", MemberParameters = new object[]
252 {
253 typeof(int),
254 typeof(int)
255 }, ReturnType = typeof(void))]
256 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TETeleportationPylon), Member = "Find", MemberParameters = new object[]
257 {
258 typeof(int),
259 typeof(int)
260 }, ReturnType = typeof(int))]
261 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TETrainingDummy), Member = "Kill", MemberParameters = new object[]
262 {
263 typeof(int),
264 typeof(int)
265 }, ReturnType = typeof(void))]
266 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TETrainingDummy), Member = "Find", MemberParameters = new object[]
267 {
268 typeof(int),
269 typeof(int)
270 }, ReturnType = typeof(int))]
271 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEWeaponsRack), Member = "Kill", MemberParameters = new object[]
272 {
273 typeof(int),
274 typeof(int)
275 }, ReturnType = typeof(void))]
276 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEWeaponsRack), Member = "Find", MemberParameters = new object[]
277 {
278 typeof(int),
279 typeof(int)
280 }, ReturnType = typeof(int))]
281 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawSpecialTilesLegacy", MemberParameters = new object[]
282 {
285 }, ReturnType = typeof(void))]
286 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawEntities_DisplayDolls", ReturnType = typeof(void))]
287 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawEntities_HatRacks", ReturnType = typeof(void))]
288 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 33)]
289 public static int GetKey(int x, int y)
290 {
291 throw null;
292 }
293
294 [global::Cpp2ILInjected.Token(Token = "0x600375D")]
295 [global::Cpp2ILInjected.Address(RVA = "0x141F3C8", Offset = "0x141F3C8", Length = "0x104")]
296 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
297 {
298 typeof(byte[]),
299 typeof(int),
300 typeof(ref int)
301 }, ReturnType = typeof(void))]
302 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
303 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "InWorld", MemberParameters = new object[]
304 {
305 typeof(int),
306 typeof(int),
307 typeof(int)
308 }, ReturnType = typeof(bool))]
309 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "ContainsKey", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
310 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileEntitiesManager), Member = "NetPlaceEntity", MemberParameters = new object[]
311 {
312 typeof(int),
313 typeof(int),
314 typeof(int)
315 }, ReturnType = typeof(void))]
316 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
317 public static void PlaceEntityNet(int x, int y, int type)
318 {
319 throw null;
320 }
321
322 [global::Cpp2ILInjected.Token(Token = "0x170006AC")]
323 public int PositionKey
324 {
325 [global::Cpp2ILInjected.Token(Token = "0x600375E")]
326 [global::Cpp2ILInjected.Address(RVA = "0x141F4CC", Offset = "0x141F4CC", Length = "0x5C")]
327 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
328 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldConsole), Member = "LoadTileEntities", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(void))]
329 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldSwitch), Member = "LoadTileEntities", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(void))]
330 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
331 {
332 typeof(byte[]),
333 typeof(int),
334 typeof(ref int)
335 }, ReturnType = typeof(void))]
336 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetMessage), Member = "DecompressTileBlock_Inner", MemberParameters = new object[]
337 {
339 typeof(int),
340 typeof(int),
341 typeof(int),
342 typeof(int)
343 }, ReturnType = typeof(void))]
344 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile), Member = "LoadTileEntities", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(void))]
345 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEDisplayDoll), Member = "Place", MemberParameters = new object[]
346 {
347 typeof(int),
348 typeof(int)
349 }, ReturnType = typeof(int))]
350 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEFoodPlatter), Member = "Place", MemberParameters = new object[]
351 {
352 typeof(int),
353 typeof(int)
354 }, ReturnType = typeof(int))]
355 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEHatRack), Member = "Place", MemberParameters = new object[]
356 {
357 typeof(int),
358 typeof(int)
359 }, ReturnType = typeof(int))]
360 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEItemFrame), Member = "Place", MemberParameters = new object[]
361 {
362 typeof(int),
363 typeof(int)
364 }, ReturnType = typeof(int))]
365 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TELogicSensor), Member = "UpdateEndInternal", ReturnType = typeof(void))]
366 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TELogicSensor), Member = "Place", MemberParameters = new object[]
367 {
368 typeof(int),
369 typeof(int)
370 }, ReturnType = typeof(int))]
371 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TETeleportationPylon), Member = "Place", MemberParameters = new object[]
372 {
373 typeof(int),
374 typeof(int)
375 }, ReturnType = typeof(int))]
376 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TETrainingDummy), Member = "Place", MemberParameters = new object[]
377 {
378 typeof(int),
379 typeof(int)
380 }, ReturnType = typeof(int))]
381 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEWeaponsRack), Member = "Place", MemberParameters = new object[]
382 {
383 typeof(int),
384 typeof(int)
385 }, ReturnType = typeof(int))]
386 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 18)]
387 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
388 get
389 {
390 throw null;
391 }
392 }
393
394 [global::Cpp2ILInjected.Token(Token = "0x600375F")]
395 [global::Cpp2ILInjected.Address(RVA = "0x141F528", Offset = "0x141F528", Length = "0x4")]
396 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
397 public virtual void Update()
398 {
399 throw null;
400 }
401
402 [global::Cpp2ILInjected.Token(Token = "0x6003760")]
403 [global::Cpp2ILInjected.Address(RVA = "0x141F52C", Offset = "0x141F52C", Length = "0x40")]
404 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
405 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetMessage), Member = "SendData", MemberParameters = new object[]
406 {
407 typeof(int),
408 typeof(int),
409 typeof(int),
411 typeof(int),
412 typeof(float),
413 typeof(float),
414 typeof(float),
415 typeof(int),
416 typeof(int),
417 typeof(int)
418 }, ReturnType = typeof(void))]
419 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetMessage), Member = "CompressTileBlock_Inner", MemberParameters = new object[]
420 {
422 typeof(int),
423 typeof(int),
424 typeof(int),
425 typeof(int)
426 }, ReturnType = typeof(void))]
427 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile), Member = "SaveTileEntities", MemberParameters = new object[] { typeof(BinaryWriter) }, ReturnType = typeof(int))]
428 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
429 public static void Write(BinaryWriter writer, TileEntity ent, bool networkSend = false)
430 {
431 throw null;
432 }
433
434 [global::Cpp2ILInjected.Token(Token = "0x6003761")]
435 [global::Cpp2ILInjected.Address(RVA = "0x141F5EC", Offset = "0x141F5EC", Length = "0xA0")]
436 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
437 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldConsole), Member = "LoadTileEntities", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(void))]
438 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
439 {
440 typeof(byte[]),
441 typeof(int),
442 typeof(ref int)
443 }, ReturnType = typeof(void))]
444 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetMessage), Member = "DecompressTileBlock_Inner", MemberParameters = new object[]
445 {
447 typeof(int),
448 typeof(int),
449 typeof(int),
450 typeof(int)
451 }, ReturnType = typeof(void))]
452 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile), Member = "ValidateWorld", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(bool))]
453 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile), Member = "LoadTileEntities", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(void))]
454 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
455 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileEntitiesManager), Member = "GenerateInstance", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(TileEntity))]
456 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileEntity), Member = "ReadInner", MemberParameters = new object[]
457 {
459 typeof(bool)
460 }, ReturnType = typeof(void))]
461 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
462 public static TileEntity Read(BinaryReader reader, bool networkSend = false)
463 {
464 throw null;
465 }
466
467 [global::Cpp2ILInjected.Token(Token = "0x6003762")]
468 [global::Cpp2ILInjected.Address(RVA = "0x141F718", Offset = "0x141F718", Length = "0xA0")]
469 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
470 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldSwitch), Member = "LoadTileEntities", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(void))]
471 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
472 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileEntitiesManager), Member = "GenerateInstance", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(TileEntity))]
473 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileEntity), Member = "ReadInnerPos32", MemberParameters = new object[]
474 {
476 typeof(bool)
477 }, ReturnType = typeof(void))]
478 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
479 public static TileEntity ReadPos32(BinaryReader reader, bool networkSend = false)
480 {
481 throw null;
482 }
483
484 [global::Cpp2ILInjected.Token(Token = "0x6003763")]
485 [global::Cpp2ILInjected.Address(RVA = "0x141F56C", Offset = "0x141F56C", Length = "0x80")]
486 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
487 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
488 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
489 private void WriteInner(BinaryWriter writer, bool networkSend)
490 {
491 throw null;
492 }
493
494 [global::Cpp2ILInjected.Token(Token = "0x6003764")]
495 [global::Cpp2ILInjected.Address(RVA = "0x141F68C", Offset = "0x141F68C", Length = "0x8C")]
496 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
497 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileEntity), Member = "Read", MemberParameters = new object[]
498 {
500 typeof(bool)
501 }, ReturnType = typeof(TileEntity))]
502 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
503 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
504 private void ReadInner(BinaryReader reader, bool networkSend)
505 {
506 throw null;
507 }
508
509 [global::Cpp2ILInjected.Token(Token = "0x6003765")]
510 [global::Cpp2ILInjected.Address(RVA = "0x141F7B8", Offset = "0x141F7B8", Length = "0x8C")]
511 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
512 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileEntity), Member = "ReadPos32", MemberParameters = new object[]
513 {
515 typeof(bool)
516 }, ReturnType = typeof(TileEntity))]
517 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
518 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
519 private void ReadInnerPos32(BinaryReader reader, bool networkSend)
520 {
521 throw null;
522 }
523
524 [global::Cpp2ILInjected.Token(Token = "0x6003766")]
525 [global::Cpp2ILInjected.Address(RVA = "0x141F844", Offset = "0x141F844", Length = "0x4")]
526 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
527 public virtual void WriteExtraData(BinaryWriter writer, bool networkSend)
528 {
529 throw null;
530 }
531
532 [global::Cpp2ILInjected.Token(Token = "0x6003767")]
533 [global::Cpp2ILInjected.Address(RVA = "0x141F848", Offset = "0x141F848", Length = "0x4")]
534 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
535 public virtual void ReadExtraData(BinaryReader reader, bool networkSend)
536 {
537 throw null;
538 }
539
540 [global::Cpp2ILInjected.Token(Token = "0x6003768")]
541 [global::Cpp2ILInjected.Address(RVA = "0x141F84C", Offset = "0x141F84C", Length = "0x4")]
542 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
543 public virtual void OnPlayerUpdate(Player player)
544 {
545 throw null;
546 }
547
548 [global::Cpp2ILInjected.Token(Token = "0x6003769")]
549 [global::Cpp2ILInjected.Address(RVA = "0x141F850", Offset = "0x141F850", Length = "0xB8")]
550 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
551 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
552 {
553 typeof(byte[]),
554 typeof(int),
555 typeof(ref int)
556 }, ReturnType = typeof(void))]
557 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileEntity), Member = "BasicOpenCloseInteraction", MemberParameters = new object[]
558 {
559 typeof(Player),
560 typeof(int),
561 typeof(int),
562 typeof(int)
563 }, ReturnType = typeof(void))]
564 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
565 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
566 public static bool IsOccupied(int id, out int interactingPlayer)
567 {
568 throw null;
569 }
570
571 [global::Cpp2ILInjected.Token(Token = "0x600376A")]
572 [global::Cpp2ILInjected.Address(RVA = "0x141F908", Offset = "0x141F908", Length = "0x4")]
573 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
574 public virtual void OnInventoryDraw(Player player, SpriteBatch spriteBatch)
575 {
576 throw null;
577 }
578
579 [global::Cpp2ILInjected.Token(Token = "0x600376B")]
580 [global::Cpp2ILInjected.Address(RVA = "0x141F90C", Offset = "0x141F90C", Length = "0x40")]
581 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
582 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
583 public virtual string GetItemGamepadInstructions(int slot = 0)
584 {
585 throw null;
586 }
587
588 [global::Cpp2ILInjected.Token(Token = "0x600376C")]
589 [global::Cpp2ILInjected.Address(RVA = "0x141F94C", Offset = "0x141F94C", Length = "0xC")]
590 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
591 public virtual bool TryGetItemGamepadOverrideInstructions(Item[] inv, int context, int slot, out string instruction)
592 {
593 throw null;
594 }
595
596 [global::Cpp2ILInjected.Token(Token = "0x600376D")]
597 [global::Cpp2ILInjected.Address(RVA = "0x141F958", Offset = "0x141F958", Length = "0x8")]
598 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
599 public virtual bool OverrideItemSlotHover(Item[] inv, int context = 0, int slot = 0)
600 {
601 throw null;
602 }
603
604 [global::Cpp2ILInjected.Token(Token = "0x600376E")]
605 [global::Cpp2ILInjected.Address(RVA = "0x141F960", Offset = "0x141F960", Length = "0x8")]
606 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
607 public virtual bool OverrideItemSlotLeftClick(Item[] inv, int context = 0, int slot = 0)
608 {
609 throw null;
610 }
611
612 [global::Cpp2ILInjected.Token(Token = "0x600376F")]
613 [global::Cpp2ILInjected.Address(RVA = "0x141F968", Offset = "0x141F968", Length = "0x330")]
614 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
615 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEDisplayDoll), Member = "OnPlayerInteraction", MemberParameters = new object[]
616 {
617 typeof(Player),
618 typeof(int),
619 typeof(int)
620 }, ReturnType = typeof(void))]
621 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEHatRack), Member = "OnPlayerInteraction", MemberParameters = new object[]
622 {
623 typeof(Player),
624 typeof(int),
625 typeof(int)
626 }, ReturnType = typeof(void))]
627 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
628 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "CloseSign", ReturnType = typeof(void))]
629 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_LogicHost", ReturnType = typeof(bool))]
630 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_stackSplit", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
631 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "GamepadEnableGrappleCooldown", ReturnType = typeof(void))]
632 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileEntity), Member = "IsOccupied", MemberParameters = new object[]
633 {
634 typeof(int),
635 typeof(ref int)
636 }, ReturnType = typeof(bool))]
637 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileEntity), Member = "SetInteractionAnchor", MemberParameters = new object[]
638 {
639 typeof(Player),
640 typeof(int),
641 typeof(int),
642 typeof(int)
643 }, ReturnType = typeof(void))]
644 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
645 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerInteractionAnchor), Member = "GetTileEntity", ReturnType = typeof(TileEntity))]
646 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Recipe), Member = "FindRecipes", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
647 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
648 {
649 typeof(int),
650 typeof(int),
651 typeof(int),
652 typeof(int),
653 typeof(float),
654 typeof(float)
655 }, ReturnType = typeof(SoundEffectInstance))]
656 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIPageIcons), Member = "OpenUI", MemberParameters = new object[]
657 {
660 }, ReturnType = typeof(void))]
661 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetMessage), Member = "SendData", MemberParameters = new object[]
662 {
663 typeof(int),
664 typeof(int),
665 typeof(int),
667 typeof(int),
668 typeof(float),
669 typeof(float),
670 typeof(float),
671 typeof(int),
672 typeof(int),
673 typeof(int)
674 }, ReturnType = typeof(void))]
675 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
676 public static void BasicOpenCloseInteraction(Player player, int x, int y, int id)
677 {
678 throw null;
679 }
680
681 [global::Cpp2ILInjected.Token(Token = "0x6003770")]
682 [global::Cpp2ILInjected.Address(RVA = "0x141FC98", Offset = "0x141FC98", Length = "0x164")]
683 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
684 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
685 {
686 typeof(byte[]),
687 typeof(int),
688 typeof(ref int)
689 }, ReturnType = typeof(void))]
690 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileEntity), Member = "BasicOpenCloseInteraction", MemberParameters = new object[]
691 {
692 typeof(Player),
693 typeof(int),
694 typeof(int),
695 typeof(int)
696 }, ReturnType = typeof(void))]
697 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
698 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "SetTalkNPC", MemberParameters = new object[]
699 {
700 typeof(int),
701 typeof(bool)
702 }, ReturnType = typeof(void))]
703 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
704 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_playerInventory", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
705 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CreativeUI), Member = "CloseMenu", ReturnType = typeof(void))]
706 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerInput), Member = "get_Triggers", ReturnType = typeof(TriggersPack))]
707 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TriggersSet), Member = "set_Grapple", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
708 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
709 {
710 typeof(int),
711 typeof(int),
712 typeof(int),
713 typeof(int),
714 typeof(float),
715 typeof(float)
716 }, ReturnType = typeof(SoundEffectInstance))]
717 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
718 public static void SetInteractionAnchor(Player player, int x, int y, int id)
719 {
720 throw null;
721 }
722
723 [global::Cpp2ILInjected.Token(Token = "0x6003771")]
724 [global::Cpp2ILInjected.Address(RVA = "0x141FDFC", Offset = "0x141FDFC", Length = "0x4")]
725 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
726 public virtual void RegisterTileEntityID(int assignedID)
727 {
728 throw null;
729 }
730
731 [global::Cpp2ILInjected.Token(Token = "0x6003772")]
732 [global::Cpp2ILInjected.Address(RVA = "0x141FE00", Offset = "0x141FE00", Length = "0x4")]
733 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
734 public virtual void NetPlaceEntityAttempt(int x, int y)
735 {
736 throw null;
737 }
738
739 [global::Cpp2ILInjected.Token(Token = "0x6003773")]
740 [global::Cpp2ILInjected.Address(RVA = "0x141FE04", Offset = "0x141FE04", Length = "0x8")]
741 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
742 public virtual bool IsTileValidForEntity(int x, int y)
743 {
744 throw null;
745 }
746
747 [global::Cpp2ILInjected.Token(Token = "0x6003774")]
748 [global::Cpp2ILInjected.Address(RVA = "0x141FE0C", Offset = "0x141FE0C", Length = "0x8")]
749 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
751 {
752 throw null;
753 }
754
755 [global::Cpp2ILInjected.Token(Token = "0x6003775")]
756 [global::Cpp2ILInjected.Address(RVA = "0x141FE14", Offset = "0x141FE14", Length = "0x8")]
757 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEDisplayDoll), Member = ".ctor", ReturnType = typeof(void))]
758 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEFoodPlatter), Member = ".ctor", ReturnType = typeof(void))]
759 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEHatRack), Member = ".ctor", ReturnType = typeof(void))]
760 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEItemFrame), Member = ".ctor", ReturnType = typeof(void))]
761 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TELogicSensor), Member = ".ctor", ReturnType = typeof(void))]
762 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TETeleportationPylon), Member = ".ctor", ReturnType = typeof(void))]
763 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TETrainingDummy), Member = ".ctor", ReturnType = typeof(void))]
764 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEWeaponsRack), Member = ".ctor", ReturnType = typeof(void))]
765 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
766 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
767 protected TileEntity()
768 {
769 throw null;
770 }
771
772 // Note: this type is marked as 'beforefieldinit'.
773 [global::Cpp2ILInjected.Token(Token = "0x6003776")]
774 [global::Cpp2ILInjected.Address(RVA = "0x141FE1C", Offset = "0x141FE1C", Length = "0xE0")]
775 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
776 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
777 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = ".ctor", ReturnType = typeof(void))]
778 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
779 static TileEntity()
780 {
781 throw null;
782 }
783
784 [global::Cpp2ILInjected.Token(Token = "0x4007876")]
786
787 [global::Cpp2ILInjected.Token(Token = "0x4007877")]
788 public const int MaxEntitiesPerChunk = 1000;
789
790 [global::Cpp2ILInjected.Token(Token = "0x4007878")]
791 public static object EntityCreationLock;
792
793 [global::Cpp2ILInjected.Token(Token = "0x4007879")]
795
796 [global::Cpp2ILInjected.Token(Token = "0x400787A")]
798
799 [global::Cpp2ILInjected.Token(Token = "0x400787B")]
800 public static int TileEntitiesNextID;
801
803 [global::Cpp2ILInjected.Token(Token = "0x400787C")]
804 private static Action _UpdateStart;
805
807 [global::Cpp2ILInjected.Token(Token = "0x400787D")]
808 private static Action _UpdateEnd;
809
810 [global::Cpp2ILInjected.Token(Token = "0x400787E")]
811 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
812 public int ID;
813
814 [global::Cpp2ILInjected.Token(Token = "0x400787F")]
815 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
817
818 [global::Cpp2ILInjected.Token(Token = "0x4007880")]
819 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
820 public byte type;
821 }
822}
class f__AnonymousType0<< Count > j__TPar
virtual string GetItemGamepadInstructions(int slot=0)
virtual void WriteExtraData(BinaryWriter writer, bool networkSend)
static Dictionary< int, TileEntity > ByID
static void BasicOpenCloseInteraction(Player player, int x, int y, int id)
static int GetKey(int x, int y)
void WriteInner(BinaryWriter writer, bool networkSend)
static TileEntitiesManager manager
virtual void RegisterTileEntityID(int assignedID)
void ReadInnerPos32(BinaryReader reader, bool networkSend)
static bool IsOccupied(int id, out int interactingPlayer)
virtual TileEntity GenerateInstance()
virtual void NetPlaceEntityAttempt(int x, int y)
static void Write(BinaryWriter writer, TileEntity ent, bool networkSend=false)
static TileEntity ReadPos32(BinaryReader reader, bool networkSend=false)
static void PlaceEntityNet(int x, int y, int type)
virtual bool TryGetItemGamepadOverrideInstructions(Item[] inv, int context, int slot, out string instruction)
virtual void OnInventoryDraw(Player player, SpriteBatch spriteBatch)
virtual bool OverrideItemSlotLeftClick(Item[] inv, int context=0, int slot=0)
static TileEntity Read(BinaryReader reader, bool networkSend=false)
virtual void OnPlayerUpdate(Player player)
virtual bool OverrideItemSlotHover(Item[] inv, int context=0, int slot=0)
static Dictionary< int, TileEntity > ByPosition
virtual bool IsTileValidForEntity(int x, int y)
void ReadInner(BinaryReader reader, bool networkSend)
static void SetInteractionAnchor(Player player, int x, int y, int id)
virtual void ReadExtraData(BinaryReader reader, bool networkSend)