- summary: An item described by its template and effects, plus either a quantity or NPC-shop sale terms.
- area: Game.Common
An item described by its template and effects, plus either a quantity or NPC-shop sale terms.
Kind struct · Area Game.Common
An item that is not in your inventory: its template, its effects, and one
complement. In an NPC shop's stock (ExchangeNpcShopStartedEvent.objects) the
complement is ItemMinimalInformation.item_to_sell_in_npc_shop, the price and
purchase allowance.
The client builds a shop entry ONLY for elements whose complement is the shop branch. An element carrying the other branch (a bare quantity) is skipped and never shown.
Read the effects as you would an inventory item's: they are the same
ObjectEffect values.
Not sent on its own — it is reached inside ExchangeNpcShopStartedEvent.objects. proven
Used by
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | effects | repeated ObjectEffect | The effects the item carries. Element type ObjectEffect - branch on its oneof. | never |
| 2 | object_gid | int32 | The item's template id. (item template id) Observed: 6857 | never |
| 4 | item_to_sell_in_npc_shop | ItemToSellInNpcShop | The item's sale terms when it is offered by an NPC shop. Type ItemToSellInNpcShop. Set on every element of an NPC shop's stock; the client skips elements that carry the other branch. | never |