Function get_inventory_item_count

Source
pub fn get_inventory_item_count(pid: u16, index: u16) -> i16
Expand description

Get the count of the item at a certain index in a player’s latest inventory
changes.

pid The player ID whose inventory changes should be used.
index The index of the inventory item.

Returns the item count.