- summary: One item as it sits in the inventory: the item itself, where it is, whether it is a favourite and, up to 3.6.12.16, how the player tagged it.
- area: Game.Inventory
One item as it sits in the inventory: the item itself, where it is, whether it is a favourite and, up to 3.6.12.16, how the player tagged it.
Kind struct · Area Game.Inventory
The element type of InventoryContentEvent.objects. It wraps an
ObjectItem with the three things that are true of the item HERE rather than
of the item in general.
position IS NOT A BAG INDEX. It is the equipment slot when the item is worn,
and a bag marker otherwise. Do not treat it as an ordinal you can iterate: two
unequipped items can carry the same position, and the value only becomes
meaningful once you know whether the item is equipped.
tag_storage_uuids is the player's own tagging, not a server concept. It is
a set of opaque strings; compare them, do not parse them. From 3.7.1.0 the
member is gone: tags became client-only filtered boxes (by item type) saved in
the client's local options, so nothing on the wire replaces it.
Not sent on its own — it is only ever reached as an element of InventoryContentEvent.objects. proven
Used by
ExchangeObjectsAddedEventInventoryContentEventObjectAddedEventObjectsAddedEventStorageInventoryContentEventStorageObjectUpdateEvent
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | item | ObjectItem | The item itself. The current build declares this type twice in the record and only this copy is ever populated. | never |
| 3 | favorite | bool | Whether the player marked this item as a favourite. | never |
| 4 | position | int32 | The equipment slot when the item is worn, and a bag marker otherwise. Not an inventory ordinal. Unequipped items share values. | never |