|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inline |
Fetches the range at which the given item begins to gravitate towards the player.
This range, referred to as item grab range, is measured in pixels.
| item | The item whose grab range is being evaluated. |
Definition at line 33847 of file Player.cs.
References Terraria.Item.coinGrabRange, Terraria.Player.defaultItemGrabRange, Terraria.Player.difficulty, Terraria.Player.goldRing, Terraria.ModLoader.ItemLoader.GrabRange(), Terraria.GameContent.Creative.CreativePowerManager.Instance, Terraria.Item.IsACoin, Terraria.GameContent.Creative.CreativePowers.APerPlayerTogglePower.IsEnabledForPlayer(), Terraria.Item.lifeGrabRange, Terraria.Player.lifeMagnet, Terraria.Item.manaGrabRange, Terraria.Player.manaMagnet, Terraria.ID.ItemID.Sets.NebulaPickup, Terraria.Item.treasureGrabRange, Terraria.Player.treasureMagnet, Terraria.Item.type, and Terraria.Entity.whoAmI.
Referenced by Terraria.Item.FindOwner(), and Terraria.Player.GrabItems().
Here is the call graph for this function:
Here is the caller graph for this function: