Skip to main content

ItemColorLoad

Callable

  • ItemColorLoad(c: Character, item: Item, x: number, y: number, width: number, height: number, includeResetButton?: boolean): void

  • Loads the item color UI with the provided character, item and positioning parameters.


    Parameters

    • c: Character

      The character being colored

    • item: Item

      The item being colored

    • x: number

      The x-coordinate at which to draw the UI

    • y: number

      The y-coordinate at which to draw the UI

    • width: number

      The width the UI should be drawn at

    • height: number

      The height the UI should be drawn at

    • optionalincludeResetButton: boolean

      Whether or not to include the "Reset to default" button

    Returns void

    • Nothing