Function get_quick_key_slot

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

Get the slot of the quick key at a certain index in a player’s latest quick key changes.

pid The player ID whose quick key changes should be used.
index The index of the quick key in the quick key changes vector.

Returns the slot.