Comentario
01-06-2018
03:14 AM
01-06-2018
03:14 AM
To clarify idea further:
There is an existing API enumeration called UnitGroup this can be used as return instead of ParameterTypeDiscipline above.
There is a function UnitUtils.GetUnitGroup(UnitType) but this takes a value of UnitType which is a separate enumeration from ParameterType. Not all ParameterType values are represented in the UnitType enumeration so a direct or indirect use of UnitUtils.GetUnitGroup(UnitType) to get the UnitGroup of a ParameterType does not seem possible.