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