pub fn settlement_components(
world: &WorldView,
plan: &CaiPlan,
map_regions: &[MapRegion],
) -> HashMap<u32, u32>Expand description
Returns the component of the settlement of each garrison residence.
§Arguments
world- The world’s objects.plan- Component ids.map_regions- Regions of the map, in map order.