Skip to main content

PropertyOpacityExit

Callable

  • PropertyOpacityExit(Data: ExtendedItemData<any>, OriginalFunction: () => void, Refresh?: boolean): boolean

  • Exit function for items with opacity sliders. Updates the items opacity, deletes the slider and (optionally) refreshes the character and item.


    Parameters

    • Data: ExtendedItemData<any>

      The items extended item data

    • OriginalFunction: () => void

      The function that is normally called when an archetypical item reaches this point (if any).

      • Refresh: boolean = true

        Whether character parameters and the respective item should be refreshed or not

      Returns boolean

      Whether the opacity was updated or not