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

◆ CanAcceptItemIntoInventory()

bool Terraria.Player.CanAcceptItemIntoInventory ( Item item)
inline

Definition at line 33589 of file Player.cs.

33590 {
33592 {
33593 return ItemID.Sets.IgnoresEncumberingStone[item.type];
33594 }
33595 return true;
33596 }
static bool[] IgnoresEncumberingStone
If true for a given item type (F:Terraria.Item.type), then that item will always be allowed to be pic...
Definition ItemID.cs:388
bool preventAllItemPickups
Definition Player.cs:1548

References Terraria.ID.ItemID.Sets.IgnoresEncumberingStone, Terraria.Player.preventAllItemPickups, and Terraria.Item.type.

Referenced by Terraria.Player.CanPullItem(), and Terraria.Player.GrabItems().

+ Here is the caller graph for this function: