Several enum types could do with some aliases. For example, i already have special handling for setting Nationalite to NATO or PACT, converting these to the underlying equivalents Allied and Axis. Similarly, factories such as Recons could be aliased to REC for convenience and readability.
A standard approach to this using the NdfEnum class would be ideal, but the exact structure eludes me.
Several enum types could do with some aliases. For example, i already have special handling for setting
Nationalite
toNATO
orPACT
, converting these to the underlying equivalentsAllied
andAxis
. Similarly, factories such asRecons
could be aliased toREC
for convenience and readability.A standard approach to this using the
NdfEnum
class would be ideal, but the exact structure eludes me.