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
Chest.cs
Go to the documentation of this file.
1using System;
4using System.IO;
11using Terraria.Audio;
19using Terraria.IO;
22using Terraria.UI;
25
26namespace Terraria
27{
28 [global::Cpp2ILInjected.Token(Token = "0x20003EB")]
29 public class Chest : IFixLoadedData
30 {
31 [global::Cpp2ILInjected.Token(Token = "0x6001AAB")]
32 [global::Cpp2ILInjected.Address(RVA = "0xAC9C6C", Offset = "0xAC9C6C", Length = "0x90")]
33 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIChest), Member = "GetName", ReturnType = typeof(string))]
34 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIChest), Member = "GetTitle", ReturnType = typeof(string))]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LocalUser), Member = "SetupState", ReturnType = typeof(void))]
36 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldConsole), Member = "LoadChests", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(void))]
37 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldConsole), Member = "LoadWorld_Version1", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(int))]
38 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldSwitch), Member = "LoadChests", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldSwitch), Member = "LoadWorld_Version1", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(int))]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Chest), Member = "AfterPlacement_Hook", MemberParameters = new object[]
41 {
42 typeof(int),
43 typeof(int),
44 typeof(int),
45 typeof(int),
46 typeof(int),
47 typeof(int)
48 }, ReturnType = typeof(int))]
49 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Chest), Member = "CreateChest", MemberParameters = new object[]
50 {
51 typeof(int),
52 typeof(int),
53 typeof(int)
54 }, ReturnType = typeof(int))]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "Initialize_AlmostEverything", ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
57 {
58 typeof(byte[]),
59 typeof(int),
60 typeof(ref int)
61 }, ReturnType = typeof(void))]
62 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetMessage), Member = "DecompressTileBlock_Inner", MemberParameters = new object[]
63 {
65 typeof(int),
66 typeof(int),
67 typeof(int),
68 typeof(int)
69 }, ReturnType = typeof(void))]
70 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = ".ctor", ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChestInfo_OldMobile), Member = "Load", MemberParameters = new object[]
72 {
74 typeof(int)
75 }, ReturnType = typeof(bool))]
76 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile), Member = "LoadChests", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile), Member = "LoadWorld_Version1_Old_BeforeRelease88", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(int))]
78 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChestUI), Member = "DrawName", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
79 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 23)]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
82 public Chest(bool bank = false)
83 {
84 throw null;
85 }
86
87 [global::Cpp2ILInjected.Token(Token = "0x6001AAC")]
88 [global::Cpp2ILInjected.Address(RVA = "0xAC9CFC", Offset = "0xAC9CFC", Length = "0x104")]
89 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
90 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
92 {
93 typeof(string),
94 typeof(object),
95 typeof(object),
96 typeof(object)
97 }, ReturnType = typeof(string))]
98 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
99 public override string ToString()
100 {
101 throw null;
102 }
103
104 [global::Cpp2ILInjected.Token(Token = "0x6001AAD")]
105 [global::Cpp2ILInjected.Address(RVA = "0xAC9E00", Offset = "0xAC9E00", Length = "0x5C4")]
106 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "Initialize_AlmostEverything", ReturnType = typeof(void))]
107 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
108 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
109 public static void Initialize()
110 {
111 throw null;
112 }
113
114 [global::Cpp2ILInjected.Token(Token = "0x6001AAE")]
115 [global::Cpp2ILInjected.Address(RVA = "0xACA3C4", Offset = "0xACA3C4", Length = "0xA8")]
116 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
117 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Chest), Member = "PutItemInNearbyChest", MemberParameters = new object[]
118 {
119 typeof(Item),
121 }, ReturnType = typeof(Item))]
122 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
123 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
124 private static bool IsPlayerInChest(int i)
125 {
126 throw null;
127 }
128
129 [global::Cpp2ILInjected.Token(Token = "0x6001AAF")]
130 [global::Cpp2ILInjected.Address(RVA = "0xACA46C", Offset = "0xACA46C", Length = "0x160")]
131 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
132 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DD2Event), Member = "ClearAllDD2EnergyCrystalsInChests", ReturnType = typeof(void))]
133 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<int>), Member = ".ctor", ReturnType = typeof(void))]
135 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
137 {
138 throw null;
139 }
140
141 [global::Cpp2ILInjected.Token(Token = "0x6001AB0")]
142 [global::Cpp2ILInjected.Address(RVA = "0xACA5CC", Offset = "0xACA5CC", Length = "0xA8")]
143 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Chest), Member = "PutItemInNearbyChest", MemberParameters = new object[]
144 {
145 typeof(Item),
147 }, ReturnType = typeof(Item))]
148 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "TileInteractionsUse", MemberParameters = new object[]
149 {
150 typeof(int),
151 typeof(int)
152 }, ReturnType = typeof(void))]
153 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
154 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
155 {
156 typeof(int),
157 typeof(int)
158 }, ReturnType = typeof(Tile))]
159 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
160 public static bool IsLocked(int x, int y)
161 {
162 throw null;
163 }
164
165 [global::Cpp2ILInjected.Token(Token = "0x6001AB1")]
166 [global::Cpp2ILInjected.Address(RVA = "0xACA674", Offset = "0xACA674", Length = "0x18C")]
167 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
168 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "TileInteractionsUse", MemberParameters = new object[]
169 {
170 typeof(int),
171 typeof(int)
172 }, ReturnType = typeof(void))]
173 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "WouldTileReplacementWork", MemberParameters = new object[]
174 {
175 typeof(ushort),
176 typeof(int),
177 typeof(int)
178 }, ReturnType = typeof(bool))]
179 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
180 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameX", ReturnType = typeof(short))]
182 public static bool IsLocked(Tile t)
183 {
184 throw null;
185 }
186
187 [global::Cpp2ILInjected.Token(Token = "0x6001AB2")]
188 [global::Cpp2ILInjected.Address(RVA = "0xACA800", Offset = "0xACA800", Length = "0x2B4")]
189 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
190 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
191 {
192 typeof(byte[]),
193 typeof(int),
194 typeof(ref int)
195 }, ReturnType = typeof(void))]
196 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
197 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Entity), Member = "get_Center", ReturnType = typeof(Vector2))]
198 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Chest), Member = "PutItemInNearbyChest", MemberParameters = new object[]
199 {
200 typeof(Item),
202 }, ReturnType = typeof(Item))]
203 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetMessage), Member = "SendData", MemberParameters = new object[]
204 {
205 typeof(int),
206 typeof(int),
207 typeof(int),
209 typeof(int),
210 typeof(float),
211 typeof(float),
212 typeof(float),
213 typeof(int),
214 typeof(int),
215 typeof(int)
216 }, ReturnType = typeof(void))]
217 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
218 public static void ServerPlaceItem(int plr, int slot)
219 {
220 throw null;
221 }
222
223 [global::Cpp2ILInjected.Token(Token = "0x6001AB3")]
224 [global::Cpp2ILInjected.Address(RVA = "0xACAAB4", Offset = "0xACAAB4", Length = "0x4E8")]
225 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
226 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Chest), Member = "ServerPlaceItem", MemberParameters = new object[]
227 {
228 typeof(int),
229 typeof(int)
230 }, ReturnType = typeof(void))]
231 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "QuickStackAllChests", ReturnType = typeof(void))]
232 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
233 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetClientOnly", ReturnType = typeof(bool))]
234 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Chest), Member = "IsPlayerInChest", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
235 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Chest), Member = "IsLocked", MemberParameters = new object[]
236 {
237 typeof(int),
238 typeof(int)
239 }, ReturnType = typeof(bool))]
240 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
241 {
242 typeof(float),
243 typeof(float)
244 }, ReturnType = typeof(void))]
245 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
246 {
249 }, ReturnType = typeof(Vector2))]
250 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Length", ReturnType = typeof(float))]
251 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "get_IsAir", ReturnType = typeof(bool))]
252 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "IsTheSameAs", MemberParameters = new object[] { typeof(Item) }, ReturnType = typeof(bool))]
253 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Chest), Member = "VisualizeChestTransfer", MemberParameters = new object[]
254 {
257 typeof(Item),
258 typeof(int)
259 }, ReturnType = typeof(void))]
260 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "Clone", ReturnType = typeof(Item))]
261 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "SetDefaults", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
262 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 24)]
263 public static Item PutItemInNearbyChest(Item item, Vector2 position)
264 {
265 throw null;
266 }
267
268 [global::Cpp2ILInjected.Token(Token = "0x6001AB4")]
269 [global::Cpp2ILInjected.Address(RVA = "0xACAF9C", Offset = "0xACAF9C", Length = "0xDC")]
270 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Chest), Member = "PutItemInNearbyChest", MemberParameters = new object[]
271 {
272 typeof(Item),
274 }, ReturnType = typeof(Item))]
275 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChestUI), Member = "QuickStack", MemberParameters = new object[]
276 {
278 typeof(bool)
279 }, ReturnType = typeof(void))]
280 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
281 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
282 {
285 }, ReturnType = typeof(Vector2))]
286 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ParticleOrchestrator), Member = "BroadcastOrRequestParticleSpawn", MemberParameters = new object[]
287 {
290 }, ReturnType = typeof(void))]
291 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
293 {
294 throw null;
295 }
296
297 [global::Cpp2ILInjected.Token(Token = "0x6001AB5")]
298 [global::Cpp2ILInjected.Address(RVA = "0xACB078", Offset = "0xACB078", Length = "0x150")]
299 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
300 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChestUI), Member = "QuickStack", MemberParameters = new object[]
301 {
303 typeof(bool)
304 }, ReturnType = typeof(void))]
305 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
306 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "CoinsSplit", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(int[]))]
307 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
308 {
311 }, ReturnType = typeof(Vector2))]
312 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ParticleOrchestrator), Member = "BroadcastOrRequestParticleSpawn", MemberParameters = new object[]
313 {
316 }, ReturnType = typeof(void))]
317 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
319 {
320 throw null;
321 }
322
323 [global::Cpp2ILInjected.Token(Token = "0x6001AB6")]
324 [global::Cpp2ILInjected.Address(RVA = "0xACB1C8", Offset = "0xACB1C8", Length = "0x8")]
325 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
326 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "MemberwiseClone", ReturnType = typeof(object))]
327 public object Clone()
328 {
329 throw null;
330 }
331
332 [global::Cpp2ILInjected.Token(Token = "0x6001AB7")]
333 [global::Cpp2ILInjected.Address(RVA = "0xACB1D0", Offset = "0xACB1D0", Length = "0x39C")]
334 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
335 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
336 {
337 typeof(byte[]),
338 typeof(int),
339 typeof(ref int)
340 }, ReturnType = typeof(void))]
341 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "TileInteractionsUse", MemberParameters = new object[]
342 {
343 typeof(int),
344 typeof(int)
345 }, ReturnType = typeof(void))]
346 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
347 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
348 {
349 typeof(int),
350 typeof(int)
351 }, ReturnType = typeof(Tile))]
352 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Framing), Member = "GetTileSafely", MemberParameters = new object[]
353 {
354 typeof(int),
355 typeof(int)
356 }, ReturnType = typeof(Tile))]
357 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
358 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameX", ReturnType = typeof(short))]
359 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AchievementsHelper), Member = "NotifyProgressionEvent", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
360 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
361 {
362 typeof(int),
363 typeof(int),
364 typeof(int),
365 typeof(int),
366 typeof(float),
367 typeof(float)
368 }, ReturnType = typeof(SoundEffectInstance))]
369 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "set_frameX", MemberParameters = new object[] { typeof(short) }, ReturnType = typeof(void))]
370 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
371 {
372 typeof(float),
373 typeof(float)
374 }, ReturnType = typeof(void))]
375 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dust), Member = "NewDust", MemberParameters = new object[]
376 {
378 typeof(int),
379 typeof(int),
380 typeof(int),
381 typeof(float),
382 typeof(float),
383 typeof(int),
384 typeof(Color),
385 typeof(float)
386 }, ReturnType = typeof(int))]
387 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
388 public static bool Unlock(int X, int Y)
389 {
390 throw null;
391 }
392
393 [global::Cpp2ILInjected.Token(Token = "0x6001AB8")]
394 [global::Cpp2ILInjected.Address(RVA = "0xACB56C", Offset = "0xACB56C", Length = "0x2E0")]
395 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
396 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
397 {
398 typeof(byte[]),
399 typeof(int),
400 typeof(ref int)
401 }, ReturnType = typeof(void))]
402 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "PlaceThing_LockChest", ReturnType = typeof(void))]
403 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
404 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
405 {
406 typeof(int),
407 typeof(int)
408 }, ReturnType = typeof(Tile))]
409 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Framing), Member = "GetTileSafely", MemberParameters = new object[]
410 {
411 typeof(int),
412 typeof(int)
413 }, ReturnType = typeof(Tile))]
414 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
415 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameX", ReturnType = typeof(short))]
416 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AchievementsHelper), Member = "NotifyProgressionEvent", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
417 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
418 {
419 typeof(int),
420 typeof(int),
421 typeof(int),
422 typeof(int),
423 typeof(float),
424 typeof(float)
425 }, ReturnType = typeof(SoundEffectInstance))]
426 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "set_frameX", MemberParameters = new object[] { typeof(short) }, ReturnType = typeof(void))]
427 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
428 public static bool Lock(int X, int Y)
429 {
430 throw null;
431 }
432
433 [global::Cpp2ILInjected.Token(Token = "0x6001AB9")]
434 [global::Cpp2ILInjected.Address(RVA = "0xACB84C", Offset = "0xACB84C", Length = "0xF0")]
435 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
436 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
437 {
438 typeof(byte[]),
439 typeof(int),
440 typeof(ref int)
441 }, ReturnType = typeof(void))]
442 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "TileInteractionsUse", MemberParameters = new object[]
443 {
444 typeof(int),
445 typeof(int)
446 }, ReturnType = typeof(void))]
447 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
448 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
449 public static int UsingChest(int i)
450 {
451 throw null;
452 }
453
454 [global::Cpp2ILInjected.Token(Token = "0x6001ABA")]
455 [global::Cpp2ILInjected.Address(RVA = "0xACB93C", Offset = "0xACB93C", Length = "0xE0")]
456 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
457 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIClothesWindow), Member = "GetTitle", ReturnType = typeof(string))]
458 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIClothesWindow), Member = "GetName", ReturnType = typeof(string))]
459 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMap), Member = "DrawMap", ReturnType = typeof(void))]
460 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Chest), Member = "AskForChestToEatItem", MemberParameters = new object[]
461 {
463 typeof(int)
464 }, ReturnType = typeof(void))]
465 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
466 {
467 typeof(byte[]),
468 typeof(int),
469 typeof(ref int)
470 }, ReturnType = typeof(void))]
471 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetMessage), Member = "CompressTileBlock_Inner", MemberParameters = new object[]
472 {
474 typeof(int),
475 typeof(int),
476 typeof(int),
477 typeof(int)
478 }, ReturnType = typeof(void))]
479 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "BigMimicSummonCheck", MemberParameters = new object[]
480 {
481 typeof(int),
482 typeof(int),
484 }, ReturnType = typeof(bool))]
485 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "TileInteractionsCheckLongDistance", MemberParameters = new object[]
486 {
487 typeof(int),
488 typeof(int)
489 }, ReturnType = typeof(void))]
490 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "TileInteractionsUse", MemberParameters = new object[]
491 {
492 typeof(int),
493 typeof(int)
494 }, ReturnType = typeof(void))]
495 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "TileInteractionsMouseOver", MemberParameters = new object[]
496 {
497 typeof(int),
498 typeof(int)
499 }, ReturnType = typeof(void))]
500 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "TileInteractionsMouseOver_Containers", MemberParameters = new object[]
501 {
502 typeof(int),
503 typeof(int)
504 }, ReturnType = typeof(void))]
505 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "GasTrapCheck", MemberParameters = new object[]
506 {
507 typeof(int),
508 typeof(int),
510 }, ReturnType = typeof(bool))]
511 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.WorldGen.<>c", Member = "<GenerateWorld>b__277_98", MemberParameters = new object[]
512 {
515 }, ReturnType = typeof(void))]
516 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeadMansChestBiome), Member = "TurnGoldChestIntoDeadMansChest", MemberParameters = new object[] { typeof(Point) }, ReturnType = typeof(void))]
517 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawTiles", MemberParameters = new object[]
518 {
521 typeof(int),
522 typeof(int),
523 typeof(int),
524 typeof(int),
525 typeof(bool),
526 typeof(bool),
527 typeof(bool),
528 typeof(int)
529 }, ReturnType = typeof(void))]
530 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 22)]
531 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
532 public static int FindChest(int X, int Y)
533 {
534 throw null;
535 }
536
537 [global::Cpp2ILInjected.Token(Token = "0x6001ABB")]
538 [global::Cpp2ILInjected.Address(RVA = "0xACBA1C", Offset = "0xACBA1C", Length = "0x140")]
539 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
540 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawMap_FindChestName", MemberParameters = new object[]
541 {
543 typeof(Tile),
544 typeof(int),
545 typeof(int),
546 typeof(int)
547 }, ReturnType = typeof(string))]
548 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
549 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
550 public static int FindChestByGuessing(int X, int Y)
551 {
552 throw null;
553 }
554
555 [global::Cpp2ILInjected.Token(Token = "0x6001ABC")]
556 [global::Cpp2ILInjected.Address(RVA = "0xACBB5C", Offset = "0xACBB5C", Length = "0xC4")]
557 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
558 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Chest), Member = "AfterPlacement_Hook", MemberParameters = new object[]
559 {
560 typeof(int),
561 typeof(int),
562 typeof(int),
563 typeof(int),
564 typeof(int),
565 typeof(int)
566 }, ReturnType = typeof(int))]
567 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Chest), Member = "CreateChest", MemberParameters = new object[]
568 {
569 typeof(int),
570 typeof(int),
571 typeof(int)
572 }, ReturnType = typeof(int))]
573 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
574 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
575 public static int FindEmptyChest(int x, int y, int type = 21, int style = 0, int direction = 1, int alternate = 0)
576 {
577 throw null;
578 }
579
580 [global::Cpp2ILInjected.Token(Token = "0x6001ABD")]
581 [global::Cpp2ILInjected.Address(RVA = "0xACBC20", Offset = "0xACBC20", Length = "0x104")]
582 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
583 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "PlaceChest", MemberParameters = new object[]
584 {
585 typeof(int),
586 typeof(int),
587 typeof(ushort),
588 typeof(bool),
589 typeof(int)
590 }, ReturnType = typeof(int))]
591 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
592 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Framing), Member = "GetTileSafely", MemberParameters = new object[]
593 {
594 typeof(int),
595 typeof(int)
596 }, ReturnType = typeof(Tile))]
597 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
598 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
599 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
600 public static bool NearOtherChests(int x, int y)
601 {
602 throw null;
603 }
604
605 [global::Cpp2ILInjected.Token(Token = "0x6001ABE")]
606 [global::Cpp2ILInjected.Address(RVA = "0xACBD24", Offset = "0xACBD24", Length = "0x260")]
607 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
608 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
609 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point16), Member = ".ctor", MemberParameters = new object[]
610 {
611 typeof(int),
612 typeof(int)
613 }, ReturnType = typeof(void))]
614 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileObjectData), Member = "OriginToTopLeft", MemberParameters = new object[]
615 {
616 typeof(int),
617 typeof(int),
619 }, ReturnType = typeof(void))]
620 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Chest), Member = "FindEmptyChest", MemberParameters = new object[]
621 {
622 typeof(int),
623 typeof(int),
624 typeof(int),
625 typeof(int),
626 typeof(int),
627 typeof(int)
628 }, ReturnType = typeof(int))]
629 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetClientOnly", ReturnType = typeof(bool))]
630 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Chest), Member = ".ctor", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
631 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = ".ctor", ReturnType = typeof(void))]
632 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetMessage), Member = "SendData", MemberParameters = new object[]
633 {
634 typeof(int),
635 typeof(int),
636 typeof(int),
638 typeof(int),
639 typeof(float),
640 typeof(float),
641 typeof(float),
642 typeof(int),
643 typeof(int),
644 typeof(int)
645 }, ReturnType = typeof(void))]
646 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
647 public static int AfterPlacement_Hook(int x, int y, int type = 21, int style = 0, int direction = 1, int alternate = 0)
648 {
649 throw null;
650 }
651
652 [global::Cpp2ILInjected.Token(Token = "0x6001ABF")]
653 [global::Cpp2ILInjected.Address(RVA = "0xACBF84", Offset = "0xACBF84", Length = "0x1BC")]
654 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
655 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldConsole), Member = "FixDresserChests", ReturnType = typeof(void))]
656 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldSwitch), Member = "FixDresserChests", ReturnType = typeof(void))]
657 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "Place3x2", MemberParameters = new object[]
658 {
659 typeof(int),
660 typeof(int),
661 typeof(ushort),
662 typeof(int)
663 }, ReturnType = typeof(void))]
664 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "PlaceChest", MemberParameters = new object[]
665 {
666 typeof(int),
667 typeof(int),
668 typeof(ushort),
669 typeof(bool),
670 typeof(int)
671 }, ReturnType = typeof(int))]
672 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "PlaceChestDirect", MemberParameters = new object[]
673 {
674 typeof(int),
675 typeof(int),
676 typeof(ushort),
677 typeof(int),
678 typeof(int)
679 }, ReturnType = typeof(void))]
680 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "PlaceDresserDirect", MemberParameters = new object[]
681 {
682 typeof(int),
683 typeof(int),
684 typeof(ushort),
685 typeof(int),
686 typeof(int)
687 }, ReturnType = typeof(void))]
688 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChestInfo_OldMobile), Member = "FixDresserChests", ReturnType = typeof(void))]
689 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile), Member = "FixDresserChests", ReturnType = typeof(void))]
690 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
691 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Chest), Member = ".ctor", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
692 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = ".ctor", ReturnType = typeof(void))]
693 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Chest), Member = "FindEmptyChest", MemberParameters = new object[]
694 {
695 typeof(int),
696 typeof(int),
697 typeof(int),
698 typeof(int),
699 typeof(int),
700 typeof(int)
701 }, ReturnType = typeof(int))]
702 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetClientOnly", ReturnType = typeof(bool))]
703 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
704 public static int CreateChest(int X, int Y, int id = -1)
705 {
706 throw null;
707 }
708
709 [global::Cpp2ILInjected.Token(Token = "0x6001AC0")]
710 [global::Cpp2ILInjected.Address(RVA = "0xACC140", Offset = "0xACC140", Length = "0xE4")]
711 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
712 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "CheckChest", MemberParameters = new object[]
713 {
714 typeof(int),
715 typeof(int),
716 typeof(int)
717 }, ReturnType = typeof(void))]
718 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "CanKillTile", MemberParameters = new object[]
719 {
720 typeof(int),
721 typeof(int),
722 typeof(ref bool)
723 }, ReturnType = typeof(bool))]
724 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
725 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
726 public static bool CanDestroyChest(int X, int Y)
727 {
728 throw null;
729 }
730
731 [global::Cpp2ILInjected.Token(Token = "0x6001AC1")]
732 [global::Cpp2ILInjected.Address(RVA = "0xACC224", Offset = "0xACC224", Length = "0x198")]
733 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
734 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "BigMimicSummonCheck", MemberParameters = new object[]
735 {
736 typeof(int),
737 typeof(int),
739 }, ReturnType = typeof(bool))]
740 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "CheckChest", MemberParameters = new object[]
741 {
742 typeof(int),
743 typeof(int),
744 typeof(int)
745 }, ReturnType = typeof(void))]
746 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "CheckTileBreakability2_ShouldTileSurvive", MemberParameters = new object[]
747 {
748 typeof(int),
749 typeof(int)
750 }, ReturnType = typeof(bool))]
751 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
752 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
753 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Recipe), Member = "FindRecipes", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
754 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
755 public static bool DestroyChest(int X, int Y)
756 {
757 throw null;
758 }
759
760 [global::Cpp2ILInjected.Token(Token = "0x6001AC2")]
761 [global::Cpp2ILInjected.Address(RVA = "0xACC3BC", Offset = "0xACC3BC", Length = "0x1F4")]
762 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
763 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
764 {
765 typeof(byte[]),
766 typeof(int),
767 typeof(ref int)
768 }, ReturnType = typeof(void))]
769 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
770 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
771 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Recipe), Member = "FindRecipes", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
772 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
773 public static void DestroyChestDirect(int X, int Y, int id)
774 {
775 throw null;
776 }
777
778 [global::Cpp2ILInjected.Token(Token = "0x6001AC3")]
779 [global::Cpp2ILInjected.Address(RVA = "0xACC5B0", Offset = "0xACC5B0", Length = "0x104")]
780 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
781 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIInventoryTransactions), Member = "SellItem", ReturnType = typeof(void))]
782 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemSlot), Member = "LeftClick", MemberParameters = new object[]
783 {
784 typeof(Item[]),
785 typeof(int),
786 typeof(int)
787 }, ReturnType = typeof(void))]
788 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemSlot), Member = "SellOrTrash", MemberParameters = new object[]
789 {
790 typeof(Item[]),
791 typeof(int),
792 typeof(int)
793 }, ReturnType = typeof(void))]
794 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
795 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_shopSellbackHelper", ReturnType = typeof(ItemShopSellbackHelper))]
796 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ItemShopSellbackHelper), Member = "Remove", MemberParameters = new object[] { typeof(Item) }, ReturnType = typeof(int))]
797 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "Clone", ReturnType = typeof(Item))]
798 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
800 {
801 throw null;
802 }
803
804 [global::Cpp2ILInjected.Token(Token = "0x6001AC4")]
805 [global::Cpp2ILInjected.Address(RVA = "0xACC6B4", Offset = "0xACC6B4", Length = "0x414")]
806 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
807 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Chest), Member = "SetupTravelShop", ReturnType = typeof(void))]
808 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
809 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
810 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
811 public static void SetupTravelShop_AddToShop(int it, ref int added, ref int count)
812 {
813 throw null;
814 }
815
816 [global::Cpp2ILInjected.Token(Token = "0x6001AC5")]
817 [global::Cpp2ILInjected.Address(RVA = "0xACCAC8", Offset = "0xACCAC8", Length = "0xCC")]
818 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
819 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Chest), Member = "SetupTravelShop", ReturnType = typeof(void))]
820 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
821 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
822 public static bool SetupTravelShop_CanAddItemToShop(int it)
823 {
824 throw null;
825 }
826
827 [global::Cpp2ILInjected.Token(Token = "0x6001AC6")]
828 [global::Cpp2ILInjected.Address(RVA = "0xACCB94", Offset = "0xACCB94", Length = "0x64C")]
829 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
830 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Chest), Member = "SetupTravelShop", ReturnType = typeof(void))]
831 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
832 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "RollLuck", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
833 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 25)]
834 public static void SetupTravelShop_GetPainting(Player playerWithHighestLuck, int[] rarity, ref int it, int minimumRarity = 0)
835 {
836 throw null;
837 }
838
839 [global::Cpp2ILInjected.Token(Token = "0x6001AC7")]
840 [global::Cpp2ILInjected.Address(RVA = "0xACD1E0", Offset = "0xACD1E0", Length = "0xC8")]
841 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
842 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Chest), Member = "SetupTravelShop", ReturnType = typeof(void))]
843 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
844 public static void SetupTravelShop_AdjustSlotRarities(int slotItemAttempts, ref int[] rarity)
845 {
846 throw null;
847 }
848
849 [global::Cpp2ILInjected.Token(Token = "0x6001AC8")]
850 [global::Cpp2ILInjected.Address(RVA = "0xACD2A8", Offset = "0xACD2A8", Length = "0xA30")]
851 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
852 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Chest), Member = "SetupTravelShop", ReturnType = typeof(void))]
853 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
854 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "RollLuck", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
855 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
856 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 23)]
857 public static void SetupTravelShop_GetItem(Player playerWithHighestLuck, int[] rarity, ref int it, int minimumRarity = 0)
858 {
859 throw null;
860 }
861
862 [global::Cpp2ILInjected.Token(Token = "0x6001AC9")]
863 [global::Cpp2ILInjected.Address(RVA = "0xACDCD8", Offset = "0xACDCD8", Length = "0x428")]
864 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
865 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "Initialize_AlmostEverything", ReturnType = typeof(void))]
866 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "SpawnTravelNPC", ReturnType = typeof(void))]
867 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
868 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = ".ctor", ReturnType = typeof(void))]
869 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
870 {
871 typeof(int),
872 typeof(int)
873 }, ReturnType = typeof(int))]
874 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "RollLuck", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
875 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_expertMode", ReturnType = typeof(bool))]
876 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeHelpers), Member = "InitializeArray", MemberParameters = new object[]
877 {
878 typeof(Array),
880 }, ReturnType = typeof(void))]
881 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Chest), Member = "SetupTravelShop_AdjustSlotRarities", MemberParameters = new object[]
882 {
883 typeof(int),
884 typeof(ref int[])
885 }, ReturnType = typeof(void))]
886 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Chest), Member = "SetupTravelShop_GetItem", MemberParameters = new object[]
887 {
888 typeof(Player),
889 typeof(int[]),
890 typeof(ref int),
891 typeof(int)
892 }, ReturnType = typeof(void))]
893 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Chest), Member = "SetupTravelShop_CanAddItemToShop", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
894 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Chest), Member = "SetupTravelShop_AddToShop", MemberParameters = new object[]
895 {
896 typeof(int),
897 typeof(ref int),
898 typeof(ref int)
899 }, ReturnType = typeof(void))]
900 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Chest), Member = "SetupTravelShop_GetPainting", MemberParameters = new object[]
901 {
902 typeof(Player),
903 typeof(int[]),
904 typeof(ref int),
905 typeof(int)
906 }, ReturnType = typeof(void))]
907 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 22)]
908 public static void SetupTravelShop()
909 {
910 throw null;
911 }
912
913 [global::Cpp2ILInjected.Token(Token = "0x6001ACA")]
914 [global::Cpp2ILInjected.Address(RVA = "0xACE100", Offset = "0xACE100", Length = "0x8060")]
915 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
916 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUINPCDialogue), Member = "Option1Clicked", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
917 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUINPCDialogue), Member = "Option2Clicked", ReturnType = typeof(void))]
918 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "Initialize_AlmostEverything", ReturnType = typeof(void))]
919 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "OpenShop", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
920 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
921 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_LocalPlayer", ReturnType = typeof(Player))]
922 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = ".ctor", ReturnType = typeof(void))]
923 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "SetDefaults", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
924 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
925 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_ZoneGraveyard", ReturnType = typeof(bool))]
926 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "HasItem", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
927 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPC), Member = "AnyNPCs", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
928 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetClient", ReturnType = typeof(bool))]
929 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenPosition", ReturnType = typeof(Vector2))]
930 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenWidth", ReturnType = typeof(int))]
931 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "netDefaults", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
932 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "GetBestiaryProgressReport", ReturnType = typeof(BestiaryUnlockProgressReport))]
933 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Chest), Member = "BestiaryGirl_IsFairyTorchAvailable", ReturnType = typeof(bool))]
934 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LanternNight), Member = "get_LanternsUp", ReturnType = typeof(bool))]
935 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BirthdayParty), Member = "get_PartyIsUp", ReturnType = typeof(bool))]
936 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_ZoneJungle", ReturnType = typeof(bool))]
937 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BestiaryUnlockProgressReport), Member = "get_CompletionPercent", ReturnType = typeof(float))]
938 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_ZoneSnow", ReturnType = typeof(bool))]
939 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_ZoneDesert", ReturnType = typeof(bool))]
940 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "buyPrice", MemberParameters = new object[]
941 {
942 typeof(int),
943 typeof(int),
944 typeof(int),
945 typeof(int)
946 }, ReturnType = typeof(int))]
947 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int?), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
948 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_ZoneUnderworldHeight", ReturnType = typeof(bool))]
949 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_ZoneGlowshroom", ReturnType = typeof(bool))]
950 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_ShoppingZone_Forest", ReturnType = typeof(bool))]
951 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_ZoneCrimson", ReturnType = typeof(bool))]
952 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_ZoneCorrupt", ReturnType = typeof(bool))]
953 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_ZoneHallow", ReturnType = typeof(bool))]
954 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Entity), Member = "get_Center", ReturnType = typeof(Vector2))]
955 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToTileCoordinates16", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Point16))]
956 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TeleportPylonsSystem), Member = "DoesPositionHaveEnoughNPCs", MemberParameters = new object[]
957 {
958 typeof(int),
960 }, ReturnType = typeof(bool))]
961 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PageControllerLayoutDefinition<>), Member = "get_Instance", ReturnType = "T")]
962 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIPageIcons), Member = "get_UseHorizontalPages", ReturnType = typeof(bool))]
963 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_ZoneBeach", ReturnType = typeof(bool))]
964 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeHelpers), Member = "InitializeArray", MemberParameters = new object[]
965 {
966 typeof(Array),
968 }, ReturnType = typeof(void))]
969 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 409)]
970 public void SetupShop(int type)
971 {
972 throw null;
973 }
974
975 [global::Cpp2ILInjected.Token(Token = "0x6001ACB")]
976 [global::Cpp2ILInjected.Address(RVA = "0xAD6160", Offset = "0xAD6160", Length = "0x98")]
977 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Chest), Member = "SetupShop", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
978 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
979 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Chest), Member = "DidDiscoverBestiaryEntry", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
980 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
982 {
983 throw null;
984 }
985
986 [global::Cpp2ILInjected.Token(Token = "0x6001ACC")]
987 [global::Cpp2ILInjected.Address(RVA = "0xAD61F8", Offset = "0xAD61F8", Length = "0xE0")]
988 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
989 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Chest), Member = "BestiaryGirl_IsFairyTorchAvailable", ReturnType = typeof(bool))]
990 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
991 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BestiaryDatabase), Member = "FindEntryByNPCID", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(BestiaryEntry))]
992 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
993 private static bool DidDiscoverBestiaryEntry(int npcId)
994 {
995 throw null;
996 }
997
998 [global::Cpp2ILInjected.Token(Token = "0x6001ACD")]
999 [global::Cpp2ILInjected.Address(RVA = "0xAD62D8", Offset = "0xAD62D8", Length = "0xF4")]
1000 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ParticleOrchestrator), Member = "Spawn_ItemTransfer", MemberParameters = new object[] { typeof(ParticleOrchestraSettings) }, ReturnType = typeof(void))]
1001 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
1002 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToTileCoordinates", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Point))]
1003 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Chest), Member = "FindChest", MemberParameters = new object[]
1004 {
1005 typeof(int),
1006 typeof(int)
1007 }, ReturnType = typeof(int))]
1008 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
1009 public static void AskForChestToEatItem(Vector2 worldPosition, int duration)
1010 {
1011 throw null;
1012 }
1013
1014 [global::Cpp2ILInjected.Token(Token = "0x6001ACE")]
1015 [global::Cpp2ILInjected.Address(RVA = "0xAD63CC", Offset = "0xAD63CC", Length = "0x310")]
1016 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1017 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoUpdateInWorld", MemberParameters = new object[] { typeof(Stopwatch) }, ReturnType = typeof(void))]
1018 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
1019 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<int>), Member = "Clear", ReturnType = typeof(void))]
1020 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<int>), Member = "Add", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
1021 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<int>), Member = "Contains", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
1022 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
1023 {
1024 typeof(float),
1025 typeof(float)
1026 }, ReturnType = typeof(void))]
1027 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
1028 {
1029 typeof(int),
1030 typeof(Vector2),
1031 typeof(int)
1032 }, ReturnType = typeof(void))]
1033 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
1034 public static void UpdateChestFrames()
1035 {
1036 throw null;
1037 }
1038
1039 [global::Cpp2ILInjected.Token(Token = "0x6001ACF")]
1040 [global::Cpp2ILInjected.Address(RVA = "0xAD66DC", Offset = "0xAD66DC", Length = "0x48")]
1041 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1042 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile), Member = "FixAgainstExploits", ReturnType = typeof(void))]
1043 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
1044 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Item), Member = "FixAgainstExploit", ReturnType = typeof(void))]
1045 public void FixLoadedData()
1046 {
1047 throw null;
1048 }
1049
1050 // Note: this type is marked as 'beforefieldinit'.
1051 [global::Cpp2ILInjected.Token(Token = "0x6001AD0")]
1052 [global::Cpp2ILInjected.Address(RVA = "0xAD6724", Offset = "0xAD6724", Length = "0x116C")]
1053 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1054 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1055 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<int>), Member = ".ctor", ReturnType = typeof(void))]
1056 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
1057 static Chest()
1058 {
1059 throw null;
1060 }
1061
1062 [global::Cpp2ILInjected.Token(Token = "0x40027EF")]
1064
1065 [global::Cpp2ILInjected.Token(Token = "0x40027F0")]
1066 public const float chestStackRange = 600f;
1067
1068 [global::Cpp2ILInjected.Token(Token = "0x40027F1")]
1069 public const int maxChestTypes = 52;
1070
1071 [global::Cpp2ILInjected.Token(Token = "0x40027F2")]
1072 public static int[] chestTypeToIcon;
1073
1074 [global::Cpp2ILInjected.Token(Token = "0x40027F3")]
1075 public static int[] chestItemSpawn;
1076
1077 [global::Cpp2ILInjected.Token(Token = "0x40027F4")]
1078 public const int maxChestTypes2 = 17;
1079
1080 [global::Cpp2ILInjected.Token(Token = "0x40027F5")]
1081 public static int[] chestTypeToIcon2;
1082
1083 [global::Cpp2ILInjected.Token(Token = "0x40027F6")]
1084 public static int[] chestItemSpawn2;
1085
1086 [global::Cpp2ILInjected.Token(Token = "0x40027F7")]
1087 public const int maxDresserTypes = 43;
1088
1089 [global::Cpp2ILInjected.Token(Token = "0x40027F8")]
1090 public static int[] dresserTypeToIcon;
1091
1092 [global::Cpp2ILInjected.Token(Token = "0x40027F9")]
1093 public static int[] dresserItemSpawn;
1094
1095 [global::Cpp2ILInjected.Token(Token = "0x40027FA")]
1096 public const int maxItems = 40;
1097
1098 [global::Cpp2ILInjected.Token(Token = "0x40027FB")]
1099 public const int MaxNameLength = 29;
1100
1101 [global::Cpp2ILInjected.Token(Token = "0x40027FC")]
1102 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
1103 public Item[] item;
1104
1105 [global::Cpp2ILInjected.Token(Token = "0x40027FD")]
1106 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
1107 public int x;
1108
1109 [global::Cpp2ILInjected.Token(Token = "0x40027FE")]
1110 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
1111 public int y;
1112
1113 [global::Cpp2ILInjected.Token(Token = "0x40027FF")]
1114 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
1115 public bool bankChest;
1116
1117 [global::Cpp2ILInjected.Token(Token = "0x4002800")]
1118 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
1119 public string name;
1120
1121 [global::Cpp2ILInjected.Token(Token = "0x4002801")]
1122 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
1123 public int frameCounter;
1124
1125 [global::Cpp2ILInjected.Token(Token = "0x4002802")]
1126 [global::Cpp2ILInjected.FieldOffset(Offset = "0x34")]
1127 public int frame;
1128
1129 [global::Cpp2ILInjected.Token(Token = "0x4002803")]
1130 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
1132
1133 [global::Cpp2ILInjected.Token(Token = "0x4002804")]
1134 private static Item[] bartenderResort;
1135
1136 [global::Cpp2ILInjected.Token(Token = "0x4002805")]
1137 private static int forcedDDTier;
1138 }
1139}
class f__AnonymousType0<< Count > j__TPar
static Item[] bartenderResort
Definition Chest.cs:1134
static int UsingChest(int i)
Definition Chest.cs:449
static bool DestroyChest(int X, int Y)
Definition Chest.cs:755
static int[] dresserTypeToIcon
Definition Chest.cs:1090
static void AskForChestToEatItem(Vector2 worldPosition, int duration)
Definition Chest.cs:1009
static int forcedDDTier
Definition Chest.cs:1137
static void SetupTravelShop_GetPainting(Player playerWithHighestLuck, int[] rarity, ref int it, int minimumRarity=0)
Definition Chest.cs:834
Chest(bool bank=false)
Definition Chest.cs:82
void AddItemToShop(Item newItem)
Definition Chest.cs:799
static void UpdateChestFrames()
Definition Chest.cs:1034
override string ToString()
Definition Chest.cs:99
static int[] dresserItemSpawn
Definition Chest.cs:1093
static void SetupTravelShop_GetItem(Player playerWithHighestLuck, int[] rarity, ref int it, int minimumRarity=0)
Definition Chest.cs:857
void SetupShop(int type)
Definition Chest.cs:970
static bool BestiaryGirl_IsFairyTorchAvailable()
Definition Chest.cs:981
static int[] chestTypeToIcon2
Definition Chest.cs:1081
static int FindChestByGuessing(int X, int Y)
Definition Chest.cs:550
static bool IsLocked(int x, int y)
Definition Chest.cs:160
object Clone()
Definition Chest.cs:327
static int[] chestItemSpawn
Definition Chest.cs:1075
void FixLoadedData()
Definition Chest.cs:1045
static int[] chestTypeToIcon
Definition Chest.cs:1072
static int CreateChest(int X, int Y, int id=-1)
Definition Chest.cs:704
Item[] item
Definition Chest.cs:1103
static bool SetupTravelShop_CanAddItemToShop(int it)
Definition Chest.cs:822
static bool IsLocked(Tile t)
Definition Chest.cs:182
static Item PutItemInNearbyChest(Item item, Vector2 position)
Definition Chest.cs:263
static int[] chestItemSpawn2
Definition Chest.cs:1084
static void VisualizeChestTransfer_CoinsBatch(Vector2 position, Vector2 chestPosition, long coinsMoved)
Definition Chest.cs:318
int frameCounter
Definition Chest.cs:1123
static void ServerPlaceItem(int plr, int slot)
Definition Chest.cs:218
string name
Definition Chest.cs:1119
static int AfterPlacement_Hook(int x, int y, int type=21, int style=0, int direction=1, int alternate=0)
Definition Chest.cs:647
static int FindEmptyChest(int x, int y, int type=21, int style=0, int direction=1, int alternate=0)
Definition Chest.cs:575
static void Initialize()
Definition Chest.cs:109
static void VisualizeChestTransfer(Vector2 position, Vector2 chestPosition, Item item, int amountMoved)
Definition Chest.cs:292
static bool DidDiscoverBestiaryEntry(int npcId)
Definition Chest.cs:993
static bool NearOtherChests(int x, int y)
Definition Chest.cs:600
static void SetupTravelShop()
Definition Chest.cs:908
bool bankChest
Definition Chest.cs:1115
static bool Unlock(int X, int Y)
Definition Chest.cs:388
int eatingAnimationTime
Definition Chest.cs:1131
static int FindChest(int X, int Y)
Definition Chest.cs:532
static void DestroyChestDirect(int X, int Y, int id)
Definition Chest.cs:773
static HashSet< int > _chestInUse
Definition Chest.cs:1063
static bool CanDestroyChest(int X, int Y)
Definition Chest.cs:726
static List< int > GetCurrentlyOpenChests()
Definition Chest.cs:136
static Chest()
Definition Chest.cs:1057
static void SetupTravelShop_AdjustSlotRarities(int slotItemAttempts, ref int[] rarity)
Definition Chest.cs:844
static void SetupTravelShop_AddToShop(int it, ref int added, ref int count)
Definition Chest.cs:811
static bool Lock(int X, int Y)
Definition Chest.cs:428
static bool IsPlayerInChest(int i)
Definition Chest.cs:124