[][src]Function tes3mp_plugin::plugin::generated::get_class_major_attribute

pub fn get_class_major_attribute(pid: u16, slot: u8) -> i16

Get the ID of one of the two major attributes of a custom class used by a player.

pid The player ID.
slot The slot of the major attribute (0 or 1).

Returns the ID of the major attribute.