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
TEItemFrame.cs
Go to the documentation of this file.
1using System;
3using System.IO;
11using Terraria.ID;
13
15{
16 [global::Cpp2ILInjected.Token(Token = "0x2000814")]
18 {
19 [global::Cpp2ILInjected.Token(Token = "0x600423A")]
20 [global::Cpp2ILInjected.Address(RVA = "0x78E1B0", Offset = "0x78E1B0", Length = "0x4C")]
21 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
22 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
23 public override void RegisterTileEntityID(int assignedID)
24 {
25 throw null;
26 }
27
28 [global::Cpp2ILInjected.Token(Token = "0x600423B")]
29 [global::Cpp2ILInjected.Address(RVA = "0x78E1FC", Offset = "0x78E1FC", Length = "0xC")]
30 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
31 public override void NetPlaceEntityAttempt(int x, int y)
32 {
33 throw null;
34 }
35
36 [global::Cpp2ILInjected.Token(Token = "0x600423C")]
37 [global::Cpp2ILInjected.Address(RVA = "0x78E208", Offset = "0x78E208", Length = "0xAC")]
38 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
39 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TEItemFrame), Member = "Place", MemberParameters = new object[]
41 {
42 typeof(int),
43 typeof(int)
44 }, ReturnType = typeof(int))]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetMessage), Member = "SendData", MemberParameters = new object[]
46 {
47 typeof(int),
48 typeof(int),
49 typeof(int),
51 typeof(int),
52 typeof(float),
53 typeof(float),
54 typeof(float),
55 typeof(int),
56 typeof(int),
57 typeof(int)
58 }, ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
60 public static void NetPlaceEntity(int x, int y)
61 {
62 throw null;
63 }
64
65 [global::Cpp2ILInjected.Token(Token = "0x600423D")]
66 [global::Cpp2ILInjected.Address(RVA = "0x78E494", Offset = "0x78E494", Length = "0x50")]
67 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TEItemFrame), Member = ".ctor", ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
70 public override TileEntity GenerateInstance()
71 {
72 throw null;
73 }
74
75 [global::Cpp2ILInjected.Token(Token = "0x600423E")]
76 [global::Cpp2ILInjected.Address(RVA = "0x78E4E4", Offset = "0x78E4E4", Length = "0x88")]
77 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileEntitiesManager), Member = "RegisterAll", ReturnType = typeof(void))]
78 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEItemFrame), Member = "GenerateInstance", ReturnType = typeof(TileEntity))]
79 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEItemFrame), Member = "Place", MemberParameters = new object[]
80 {
81 typeof(int),
82 typeof(int)
83 }, ReturnType = typeof(int))]
84 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileEntity), Member = ".ctor", ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = ".ctor", ReturnType = typeof(void))]
87 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
88 public TEItemFrame()
89 {
90 throw null;
91 }
92
93 [global::Cpp2ILInjected.Token(Token = "0x600423F")]
94 [global::Cpp2ILInjected.Address(RVA = "0x78E2B4", Offset = "0x78E2B4", Length = "0x1E0")]
95 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
96 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEItemFrame), Member = "NetPlaceEntity", MemberParameters = new object[]
97 {
98 typeof(int),
99 typeof(int)
100 }, ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEItemFrame), Member = "Hook_AfterPlacement", MemberParameters = new object[]
102 {
103 typeof(int),
104 typeof(int),
105 typeof(int),
106 typeof(int),
107 typeof(int),
108 typeof(int)
109 }, ReturnType = typeof(int))]
110 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TEItemFrame), Member = ".ctor", ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point16), Member = ".ctor", MemberParameters = new object[]
113 {
114 typeof(int),
115 typeof(int)
116 }, ReturnType = typeof(void))]
117 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileEntity), Member = "AssignNewID", ReturnType = typeof(int))]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
119 {
120 typeof(object),
121 typeof(ref bool)
122 }, ReturnType = typeof(void))]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "set_Item", MemberParameters = new object[]
124 {
125 typeof(int),
126 typeof(object)
127 }, ReturnType = typeof(void))]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileEntity), Member = "get_PositionKey", ReturnType = typeof(int))]
129 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
130 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
131 public static int Place(int x, int y)
132 {
133 throw null;
134 }
135
136 [global::Cpp2ILInjected.Token(Token = "0x6004240")]
137 [global::Cpp2ILInjected.Address(RVA = "0x78E56C", Offset = "0x78E56C", Length = "0xC")]
138 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
139 public override bool IsTileValidForEntity(int x, int y)
140 {
141 throw null;
142 }
143
144 [global::Cpp2ILInjected.Token(Token = "0x6004241")]
145 [global::Cpp2ILInjected.Address(RVA = "0x78E708", Offset = "0x78E708", Length = "0x1B8")]
146 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
147 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
148 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetClientOnly", ReturnType = typeof(bool))]
149 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
150 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetMessage), Member = "SendTileSquare", MemberParameters = new object[]
151 {
152 typeof(int),
153 typeof(int),
154 typeof(int),
155 typeof(int),
156 typeof(int),
158 }, ReturnType = typeof(void))]
159 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TEItemFrame), Member = "Place", MemberParameters = new object[]
160 {
161 typeof(int),
162 typeof(int)
163 }, ReturnType = typeof(int))]
164 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetHost", ReturnType = typeof(bool))]
165 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetMessage), Member = "SendData", MemberParameters = new object[]
166 {
167 typeof(int),
168 typeof(int),
169 typeof(int),
171 typeof(int),
172 typeof(float),
173 typeof(float),
174 typeof(float),
175 typeof(int),
176 typeof(int),
177 typeof(int)
178 }, ReturnType = typeof(void))]
179 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
180 public static int Hook_AfterPlacement(int x, int y, int type = 395, int style = 0, int direction = 1, int alternate = 0)
181 {
182 throw null;
183 }
184
185 [global::Cpp2ILInjected.Token(Token = "0x6004242")]
186 [global::Cpp2ILInjected.Address(RVA = "0x78E8C0", Offset = "0x78E8C0", Length = "0x208")]
187 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
188 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "CheckSign", MemberParameters = new object[]
189 {
190 typeof(int),
191 typeof(int),
192 typeof(ushort)
193 }, ReturnType = typeof(void))]
194 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
195 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileEntity), Member = "GetKey", MemberParameters = new object[]
196 {
197 typeof(int),
198 typeof(int)
199 }, ReturnType = typeof(int))]
200 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "TryGetValue", MemberParameters = new object[]
201 {
202 typeof(int),
203 typeof(ref object)
204 }, ReturnType = typeof(bool))]
205 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
206 {
207 typeof(object),
208 typeof(ref bool)
209 }, ReturnType = typeof(void))]
210 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "Remove", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
211 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
212 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
213 public static void Kill(int x, int y)
214 {
215 throw null;
216 }
217
218 [global::Cpp2ILInjected.Token(Token = "0x6004243")]
219 [global::Cpp2ILInjected.Address(RVA = "0x78EAC8", Offset = "0x78EAC8", Length = "0xE4")]
220 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
221 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIQuickActionButton), Member = "CanInteract", MemberParameters = new object[]
222 {
223 typeof(Player),
224 typeof(Item),
227 typeof(ref bool)
228 }, ReturnType = typeof(bool))]
229 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetMessage), Member = "CompressTileBlock_Inner", MemberParameters = new object[]
230 {
232 typeof(int),
233 typeof(int),
234 typeof(int),
235 typeof(int)
236 }, ReturnType = typeof(void))]
237 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "TileInteractionsMouseOver", MemberParameters = new object[]
238 {
239 typeof(int),
240 typeof(int)
241 }, ReturnType = typeof(void))]
242 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "CheckSign", MemberParameters = new object[]
243 {
244 typeof(int),
245 typeof(int),
246 typeof(ushort)
247 }, ReturnType = typeof(void))]
248 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "KillTile", MemberParameters = new object[]
249 {
250 typeof(int),
251 typeof(int),
252 typeof(bool),
253 typeof(bool),
254 typeof(bool)
255 }, ReturnType = typeof(void))]
256 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEItemFrame), Member = "TryPlacing", MemberParameters = new object[]
257 {
258 typeof(int),
259 typeof(int),
260 typeof(int),
261 typeof(int),
262 typeof(int)
263 }, ReturnType = typeof(void))]
264 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEItemFrame), Member = "OnPlayerInteraction", MemberParameters = new object[]
265 {
266 typeof(Player),
267 typeof(int),
268 typeof(int)
269 }, ReturnType = typeof(void))]
270 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEItemFrame), Member = "PlaceItemInFrame", MemberParameters = new object[]
271 {
272 typeof(Player),
273 typeof(int),
274 typeof(int)
275 }, ReturnType = typeof(void))]
276 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawTiles", MemberParameters = new object[]
277 {
280 typeof(int),
281 typeof(int),
282 typeof(int),
283 typeof(int),
284 typeof(bool),
285 typeof(bool),
286 typeof(bool),
287 typeof(int)
288 }, ReturnType = typeof(void))]
289 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "CacheSpecialDraws", MemberParameters = new object[]
290 {
291 typeof(int),
292 typeof(int),
293 typeof(ushort),
294 typeof(short),
295 typeof(short)
296 }, ReturnType = typeof(void))]
297 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
298 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileEntity), Member = "GetKey", MemberParameters = new object[]
299 {
300 typeof(int),
301 typeof(int)
302 }, ReturnType = typeof(int))]
303 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "TryGetValue", MemberParameters = new object[]
304 {
305 typeof(int),
306 typeof(ref object)
307 }, ReturnType = typeof(bool))]
308 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
309 public static int Find(int x, int y)
310 {
311 throw null;
312 }
313
314 [global::Cpp2ILInjected.Token(Token = "0x6004244")]
315 [global::Cpp2ILInjected.Address(RVA = "0x78E578", Offset = "0x78E578", Length = "0x190")]
316 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
317 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
318 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
319 {
320 typeof(int),
321 typeof(int)
322 }, ReturnType = typeof(Tile))]
323 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
324 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
325 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameY", ReturnType = typeof(short))]
326 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameX", ReturnType = typeof(short))]
327 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
328 public static bool ValidTile(int x, int y)
329 {
330 throw null;
331 }
332
333 [global::Cpp2ILInjected.Token(Token = "0x6004245")]
334 [global::Cpp2ILInjected.Address(RVA = "0x78EBAC", Offset = "0x78EBAC", Length = "0x68")]
335 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
336 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
337 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
338 public override void WriteExtraData(BinaryWriter writer, bool networkSend)
339 {
340 throw null;
341 }
342
343 [global::Cpp2ILInjected.Token(Token = "0x6004246")]
344 [global::Cpp2ILInjected.Address(RVA = "0x78EC14", Offset = "0x78EC14", Length = "0xCC")]
345 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
346 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
347 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = ".ctor", ReturnType = typeof(void))]
348 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "netDefaults", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
349 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "Prefix", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
350 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
351 public override void ReadExtraData(BinaryReader reader, bool networkSend)
352 {
353 throw null;
354 }
355
356 [global::Cpp2ILInjected.Token(Token = "0x6004247")]
357 [global::Cpp2ILInjected.Address(RVA = "0x78ECE0", Offset = "0x78ECE0", Length = "0x178")]
358 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
359 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
360 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(short), Member = "ToString", ReturnType = typeof(string))]
361 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[] { typeof(string[]) }, ReturnType = typeof(string))]
362 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
363 public override string ToString()
364 {
365 throw null;
366 }
367
368 [global::Cpp2ILInjected.Token(Token = "0x6004248")]
369 [global::Cpp2ILInjected.Address(RVA = "0x78EE58", Offset = "0x78EE58", Length = "0x130")]
370 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
371 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "CheckSign", MemberParameters = new object[]
372 {
373 typeof(int),
374 typeof(int),
375 typeof(ushort)
376 }, ReturnType = typeof(void))]
377 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "KillTile", MemberParameters = new object[]
378 {
379 typeof(int),
380 typeof(int),
381 typeof(bool),
382 typeof(bool),
383 typeof(bool)
384 }, ReturnType = typeof(void))]
385 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEItemFrame), Member = "TryPlacing", MemberParameters = new object[]
386 {
387 typeof(int),
388 typeof(int),
389 typeof(int),
390 typeof(int),
391 typeof(int)
392 }, ReturnType = typeof(void))]
393 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
394 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_LogicHost", ReturnType = typeof(bool))]
395 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EntitySource_TileBreak), Member = ".ctor", MemberParameters = new object[]
396 {
397 typeof(int),
398 typeof(int)
399 }, ReturnType = typeof(void))]
400 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "NewItem", MemberParameters = new object[]
401 {
403 typeof(int),
404 typeof(int),
405 typeof(int),
406 typeof(int),
407 typeof(int),
408 typeof(int),
409 typeof(bool),
410 typeof(int),
411 typeof(bool),
412 typeof(bool)
413 }, ReturnType = typeof(int))]
414 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = ".ctor", ReturnType = typeof(void))]
415 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
416 public void DropItem()
417 {
418 throw null;
419 }
420
421 [global::Cpp2ILInjected.Token(Token = "0x6004249")]
422 [global::Cpp2ILInjected.Address(RVA = "0x78EF88", Offset = "0x78EF88", Length = "0x350")]
423 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
424 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
425 {
426 typeof(byte[]),
427 typeof(int),
428 typeof(ref int)
429 }, ReturnType = typeof(void))]
430 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEItemFrame), Member = "PlaceItemInFrame", MemberParameters = new object[]
431 {
432 typeof(Player),
433 typeof(int),
434 typeof(int)
435 }, ReturnType = typeof(void))]
436 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
437 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "RangeFrame", MemberParameters = new object[]
438 {
439 typeof(int),
440 typeof(int),
441 typeof(int),
442 typeof(int)
443 }, ReturnType = typeof(void))]
444 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TEItemFrame), Member = "Find", MemberParameters = new object[]
445 {
446 typeof(int),
447 typeof(int)
448 }, ReturnType = typeof(int))]
449 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "TValue")]
450 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TEItemFrame), Member = "DropItem", ReturnType = typeof(void))]
451 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = ".ctor", ReturnType = typeof(void))]
452 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "netDefaults", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
453 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "Prefix", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
454 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EntitySource_TileBreak), Member = ".ctor", MemberParameters = new object[]
455 {
456 typeof(int),
457 typeof(int)
458 }, ReturnType = typeof(void))]
459 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "NewItem", MemberParameters = new object[]
460 {
462 typeof(int),
463 typeof(int),
464 typeof(int),
465 typeof(int),
466 typeof(int),
467 typeof(int),
468 typeof(bool),
469 typeof(int),
470 typeof(bool),
471 typeof(bool)
472 }, ReturnType = typeof(int))]
473 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetMessage), Member = "SendData", MemberParameters = new object[]
474 {
475 typeof(int),
476 typeof(int),
477 typeof(int),
479 typeof(int),
480 typeof(float),
481 typeof(float),
482 typeof(float),
483 typeof(int),
484 typeof(int),
485 typeof(int)
486 }, ReturnType = typeof(void))]
487 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
488 public static void TryPlacing(int x, int y, int netid, int prefix, int stack)
489 {
490 throw null;
491 }
492
493 [global::Cpp2ILInjected.Token(Token = "0x600424A")]
494 [global::Cpp2ILInjected.Address(RVA = "0x78F2D8", Offset = "0x78F2D8", Length = "0x33C")]
495 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
496 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "TileInteractionsUse", MemberParameters = new object[]
497 {
498 typeof(int),
499 typeof(int)
500 }, ReturnType = typeof(void))]
501 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
502 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
503 {
504 typeof(int),
505 typeof(int)
506 }, ReturnType = typeof(Tile))]
507 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameX", ReturnType = typeof(short))]
508 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameY", ReturnType = typeof(short))]
509 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TEItemFrame), Member = "Find", MemberParameters = new object[]
510 {
511 typeof(int),
512 typeof(int)
513 }, ReturnType = typeof(int))]
514 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "TValue")]
515 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "GamepadEnableGrappleCooldown", ReturnType = typeof(void))]
516 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "KillTile", MemberParameters = new object[]
517 {
518 typeof(int),
519 typeof(int),
520 typeof(bool),
521 typeof(bool),
522 typeof(bool)
523 }, ReturnType = typeof(void))]
524 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetClient", ReturnType = typeof(bool))]
525 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetMessage), Member = "SendData", MemberParameters = new object[]
526 {
527 typeof(int),
528 typeof(int),
529 typeof(int),
531 typeof(int),
532 typeof(float),
533 typeof(float),
534 typeof(float),
535 typeof(int),
536 typeof(int),
537 typeof(int)
538 }, ReturnType = typeof(void))]
539 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TEItemFrame), Member = "PlaceItemInFrame", MemberParameters = new object[]
540 {
541 typeof(Player),
542 typeof(int),
543 typeof(int)
544 }, ReturnType = typeof(void))]
545 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Recipe), Member = "FindRecipes", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
546 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
547 public static void OnPlayerInteraction(Player player, int clickX, int clickY)
548 {
549 throw null;
550 }
551
552 [global::Cpp2ILInjected.Token(Token = "0x600424B")]
553 [global::Cpp2ILInjected.Address(RVA = "0x78F614", Offset = "0x78F614", Length = "0x10")]
554 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
555 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
556 public static bool FitsItemFrame(Item i)
557 {
558 throw null;
559 }
560
561 [global::Cpp2ILInjected.Token(Token = "0x600424C")]
562 [global::Cpp2ILInjected.Address(RVA = "0x78F624", Offset = "0x78F624", Length = "0x450")]
563 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
564 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TEItemFrame), Member = "OnPlayerInteraction", MemberParameters = new object[]
565 {
566 typeof(Player),
567 typeof(int),
568 typeof(int)
569 }, ReturnType = typeof(void))]
570 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
571 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
572 {
573 typeof(int),
574 typeof(int)
575 }, ReturnType = typeof(Tile))]
576 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameX", ReturnType = typeof(short))]
577 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameY", ReturnType = typeof(short))]
578 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TEItemFrame), Member = "Find", MemberParameters = new object[]
579 {
580 typeof(int),
581 typeof(int)
582 }, ReturnType = typeof(int))]
583 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "TValue")]
584 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "KillTile", MemberParameters = new object[]
585 {
586 typeof(int),
587 typeof(int),
588 typeof(bool),
589 typeof(bool),
590 typeof(bool)
591 }, ReturnType = typeof(void))]
592 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetClient", ReturnType = typeof(bool))]
593 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_tileTargetX", ReturnType = typeof(int))]
594 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetMessage), Member = "SendData", MemberParameters = new object[]
595 {
596 typeof(int),
597 typeof(int),
598 typeof(int),
600 typeof(int),
601 typeof(float),
602 typeof(float),
603 typeof(float),
604 typeof(int),
605 typeof(int),
606 typeof(int)
607 }, ReturnType = typeof(void))]
608 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetClientOnly", ReturnType = typeof(bool))]
609 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TEItemFrame), Member = "TryPlacing", MemberParameters = new object[]
610 {
611 typeof(int),
612 typeof(int),
613 typeof(int),
614 typeof(int),
615 typeof(int)
616 }, ReturnType = typeof(void))]
617 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "SetDefaults", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
618 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseItem", ReturnType = typeof(Item))]
619 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "Clone", ReturnType = typeof(Item))]
620 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_mouseItem", MemberParameters = new object[] { typeof(Item) }, ReturnType = typeof(void))]
621 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "RangeFrame", MemberParameters = new object[]
622 {
623 typeof(int),
624 typeof(int),
625 typeof(int),
626 typeof(int)
627 }, ReturnType = typeof(void))]
628 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 20)]
629 public static void PlaceItemInFrame(Player player, int x, int y)
630 {
631 throw null;
632 }
633
634 [global::Cpp2ILInjected.Token(Token = "0x600424D")]
635 [global::Cpp2ILInjected.Address(RVA = "0x78FA74", Offset = "0x78FA74", Length = "0xC")]
636 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
637 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "FixAgainstExploit", ReturnType = typeof(void))]
638 public void FixLoadedData()
639 {
640 throw null;
641 }
642
643 [global::Cpp2ILInjected.Token(Token = "0x40080D0")]
644 private static byte _myEntityID;
645
646 [global::Cpp2ILInjected.Token(Token = "0x40080D1")]
647 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
648 public Item item;
649 }
650}
class f__AnonymousType0<< Count > j__TPar
override void RegisterTileEntityID(int assignedID)
override bool IsTileValidForEntity(int x, int y)
override void ReadExtraData(BinaryReader reader, bool networkSend)
override void NetPlaceEntityAttempt(int x, int y)
override void WriteExtraData(BinaryWriter writer, bool networkSend)
static void OnPlayerInteraction(Player player, int clickX, int clickY)
static void PlaceItemInFrame(Player player, int x, int y)
static void TryPlacing(int x, int y, int netid, int prefix, int stack)
static int Hook_AfterPlacement(int x, int y, int type=395, int style=0, int direction=1, int alternate=0)