terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ CanBeStored() [1/2]

bool GUIEquipment.CanBeStored ( int context,
Item checkItem,
int slot )
inlineprivate

Definition at line 365 of file GUIEquipment.cs.

366 {
367 bool accessory;
368 do
369 {
370 if (slot == 0)
371 {
372 int headSlot = checkItem.headSlot;
373 }
374 int bodySlot = checkItem.bodySlot;
375 int legSlot = checkItem.legSlot;
376 int headSlot2 = checkItem.headSlot;
377 int bodySlot2 = checkItem.bodySlot;
378 if (checkItem.accessory)
379 {
380 goto IL_0043;
381 }
382 accessory = checkItem.accessory;
383 }
384 while (!accessory);
385 bool fitsAccessoryVanitySlot = checkItem.FitsAccessoryVanitySlot;
386 IL_0043:
387 if (!accessory)
388 {
389 }
391 }
class f__AnonymousType0<< Count > j__TPar
static Player LocalPlayer
Definition Main.cs:5267
static bool AccCheck(Item[] itemCollection, Item item, int slot)
Definition ItemSlot.cs:1195

References Terraria.UI.ItemSlot.AccCheck(), Terraria.Player.armor, j__TPar, and Terraria.Main.LocalPlayer.