TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ ItemCheck_CatchCritters()

Rectangle Terraria.Player.ItemCheck_CatchCritters ( Item sItem,
Rectangle itemRectangle )
inlineprivate

Definition at line 44054 of file Player.cs.

44055 {
44056 //IL_0049: Unknown result type (might be due to invalid IL or missing references)
44057 //IL_0028: Unknown result type (might be due to invalid IL or missing references)
44058 for (int i = 0; i < 200; i++)
44059 {
44060 if (Main.npc[i].active && Main.npc[i].catchItem > 0)
44061 {
44062 NPC.CheckCatchNPC(Main.npc[i], itemRectangle, sItem, this, ItemID.Sets.LavaproofCatchingTool[sItem.type]);
44063 }
44064 }
44065 return itemRectangle;
44066 }
static bool[] LavaproofCatchingTool
Set for catching tools which can catch the Underworld's lava critters. Don't forget to use the F:Ter...
Definition ItemID.cs:1600

References Terraria.NPC.CheckCatchNPC(), Terraria.ID.ItemID.Sets.LavaproofCatchingTool, and Terraria.Main.npc.

Referenced by Terraria.Player.ItemCheck_OwnerOnlyCode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: