<Code Lib>
2025 Method
Changes 1
M

FormatOptions.CanUsePlusPrefix(ForgeTypeId)

Description:
Checks whether a plus prefix can be displayed for a given unit.
Overloads (2):
CanUsePlusPrefix(ForgeTypeId)

public static bool CanUsePlusPrefix(
	ForgeTypeId unitTypeId
)

Return Value Boolean True if a plus prefix can be displayed, false otherwise.

  • unitTypeId is not a unit identifier. See UnitUtils.IsUnit(ForgeTypeId) and UnitUtils.GetUnitTypeId(DisplayUnitType).
  • A non-optional argument was null

Loading…