UnitUtils.IsSpec
Description:
Checks whether a ForgeTypeId identifies a spec.
Checks whether a ForgeTypeId identifies a spec.
Remarks:
A ForgeTypeId identifies a spec if it corresponds to a valid UnitType value according to UnitUtils.IsValidUnitType(UnitType) and UnitUtils.GetSpecTypeId(UnitType).
A ForgeTypeId identifies a spec if it corresponds to a valid UnitType value according to UnitUtils.IsValidUnitType(UnitType) and UnitUtils.GetSpecTypeId(UnitType).
public static bool IsSpec(
ForgeTypeId specTypeId
)
-
specTypeIdThe identifier to check.
Return Value
bool
True if the ForgeTypeId identifies a spec, false otherwise.
-
A non-optional argument was NULL