Skip to main content

ItemDiffResolution

A wrapper object containing the results of a diff resolution. This includes the final item that the diff resolved to (or null if the diff resulted in no item, for example in the case of item removal), along with a valid flag which indicates whether or not the diff was fully valid or not.

Index

Properties

Properties

item

item: Item

The resulting item after resolution of the item diff, or null if the diff resulted in no item being equipped in the given group

valid

valid: boolean

Whether or not the diff was fully valid. In most cases, an invalid diff will result in the whole appearance update being rolled back, but in some cases the change will be accepted, but some properties may be modified to keep the resulting item valid - in both situations, the valid flag will be returned as false, indicating that a remedial appearance update should be made by the target player.

Page Options