Skip to main content

get_inventory_changes_action

Function get_inventory_changes_action 

Source
pub fn get_inventory_changes_action(pid: u16) -> u16
Expand description

Get the action type used in a player’s latest inventory changes.

pid The player ID whose inventory changes should be used.

Returns the action type (0 for SET, 1 for ADD, 2 for REMOVE).