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

◆ ShouldDrawSacrificeArea()

bool Terraria.GameContent.Creative.CreativeUI.ShouldDrawSacrificeArea ( )
inline

Definition at line 315 of file CreativeUI.cs.

316 {
318 Vector2 position = itemSlotsForUI.position;
319 if (itemSlotsForUI == null)
320 {
321 }
322 Item mouseItem = Main.mouseItem;
323 bool isAir = mouseItem.IsAir;
324 if (itemSlotsForUI == null)
325 {
326 }
327 int type = mouseItem.type;
328 if (itemSlotsForUI == null)
329 {
330 }
331 ItemsSacrificedUnlocksTracker itemSacrifices = Main.LocalPlayerCreativeTracker.ItemSacrifices;
332 int type2 = mouseItem.type;
333 int sacrificeCount = itemSacrifices.GetSacrificeCount(type2);
334 return true;
335 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.GameContent.Creative.CreativeUI._itemSlotsForUI, Terraria.Item.IsAir, j__TPar, Terraria.Main.LocalPlayerCreativeTracker, Terraria.Main.mouseItem, and Terraria.Item.type.