pub fn name_pool(
tables: &StartposTables,
index: &CampaignIndex,
faction: &FactionEntry,
for_army: bool,
) -> Result<Vec<String>>Expand description
Returns the name localisation keys available to a faction’s armies or navies.
§Arguments
tables- Tables withmilitary_force_legacy_names.index- The campaign’s startpos rows.faction- The faction.for_army-truefor army names,falsefor navy names.
§Returns
The keys, in table order.
§Errors
Returns an error if a table or column is missing.