Skip to main content

ValidationResolveAppearanceDiff

Callable


  • Resolves an appearance diff based on the previous item, new item, and the appearance update parameters provided. Returns an ItemDiffResolution object containing the final appearance item and a valid flag indicating whether or not the new item had to be modified/rolled back.


    Parameters

    • groupName: AssetGroupName

      The name of the group for the appearance diff

    • previousItem: Item

      The previous item that the target character had equipped (or null if none)

    • newItem: Item

      The new item to equip (may be identical to the previous item, or null if removing)

    • params: AppearanceUpdateParameters

      The appearance update parameters that apply to the diff

    Returns ItemDiffResolution

    • The diff resolution - a wrapper object containing the final item and a flag indicating whether or not the change was valid.