|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inline |
Counts the total stack of the specified item type in this players F:Terraria.Player.inventory.
Does not check Void Bag.
Use M:Terraria.Player.HasItem(System.Int32) to check if the player has the item at all.
| type | The item type to count |
| stopCountingAt | When to stop counting, useful to avoid unnecessary calculations |
Definition at line 7540 of file Player.cs.
References Terraria.Player.inventory, and Terraria.Item.stack.
Referenced by Terraria.Player.CheckDD2CrystalPaymentLock().
Here is the caller graph for this function: