Function get_faction_id

Source
pub fn get_faction_id(pid: u16, index: u16) -> String
Expand description

Get the factionId at a certain index in a player’s latest faction changes.

pid The player ID whose faction changes should be used.
index The index of the faction.

Returns the factionId.