2024 Method
Changes 1
M

FormatOptions.IsValidForSpec

Description:
Checks whether this FormatOptions is valid for a given spec.
Remarks:
The FormatOptions is valid if UseDefault is true or if the unit in the FormatOptions is valid for the spec. See UnitUtils.IsValidUnit(ForgeTypeId, ForgeTypeId) and UnitUtils.GetValidUnits(ForgeTypeId).
public bool IsValidForSpec(
	ForgeTypeId specTypeId
)
Return Value bool True if the FormatOptions is valid, false otherwise.