-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
The Country class does a handful of things:
- Exposes that DCS database of country names, IDs, available callsigns and units, etc
- Tracks what groups have been added to the miz that belong to the country
- Tracks callsign assignment state
For most of the other DCS data these are not all done by the same class. PlaneType has the database and Plane has the miz state. Mixing these two makes it impossible for applications to use Country as their country ID (the alternative is using either the int ID or the shortname and doing lookups whenever the other data is needed, then discarding most of the data that was just constructed) when multiple missions will be generated because each successive mission will continue adding groups to the existing country.
At a glance this might be hard to untangle, especially since our type annotations are incomplete.
Metadata
Metadata
Assignees
Labels
No labels