Function get_class_specialization

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

Get the specialization ID of the custom class used by a player.

pid The player ID.

Returns the specialization ID of the custom class (0 for Combat, 1 for Magic, 2 for Stealth).