ValidationResolveRemoveDiff
Callable
Parameters
previousItem: Item
The previous item to remove
params: AppearanceUpdateParameters
The appearance update parameters that apply to the diff
optionalisSwap: boolean
Whether or not the removal is part of an item swap operation. This will allow certain items which cannot normally be removed (e.g. items with
AllowNone: false
) to be removed
Returns ItemDiffResolution
- The diff resolution - a wrapper object containing the final item and a flag indicating whether or not the change was valid.
Resolves an appearance diff where an item is being removed (i.e. there was previously an item in the asset group, but it is being removed)