UnitUtils.GetValidUnits
Description:
Gets the identifiers of all valid units for a given spec.
Gets the identifiers of all valid units for a given spec.
public static IList<ForgeTypeId> GetValidUnits(
ForgeTypeId specTypeId
)
-
specTypeIdIdentifier of the spec.
-
specTypeId is not a spec identifier. See UnitUtils.IsSpec(ForgeTypeId) and UnitUtils.GetSpecTypeId(UnitType).
-
A non-optional argument was NULL