Skip to main content

ValidationCanRemoveItem

Callable


  • Determines whether an item can be removed from the target character, based on the provided appearance update parameters.


    Parameters

    • previousItem: Item

      The item to remove

    • params: AppearanceUpdateParameters

      The appearance update parameters that apply to the diff

    • isSwap: boolean

      Whether or not the removal is part of a swap, which allows temporary removal of items with AllowNone: false.

    Returns boolean

    • TRUE if the item can be removed based on the appearance update parameters, FALSE otherwise