Skip to main content

ItemColorGetColorButtonText

Callable

  • ItemColorGetColorButtonText(color: BCColor | readonly BCColor[]): string

  • Fetches the color button text for the provided item color. If the item's color is already a string, the color string is returned. Otherwise, returns "Many" or "Default" as appropriate.


    Parameters

    Returns string

    • The appropriate color button text for the provided item color(s), translated to the current game language