pub fn get_inventory_changes_action(pid: u16) -> u16Expand 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).