pub fn faction_mercenary_pool(
tables: &StartposTables,
faction: &str,
) -> Result<Vec<MercenaryUnit>>Expand description
Returns the mercenary pool of a faction.
§Arguments
tables- Tables withfaction_to_mercenary_set_junctions,mercenary_pool_to_groups_junctionsandmercenary_unit_groups.faction- Faction key.
§Returns
The units of every set of the faction, in table order. Empty for factions without sets.
§Errors
Returns an error if a table or column is missing.