Skip to main content

get_inventory_item_ref_id

Function get_inventory_item_ref_id 

Source
pub fn get_inventory_item_ref_id(pid: u16, index: u16) -> String
Expand description

Get the refId 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 refId.