- summary: The new quantity of one stack you already hold, and where the change came from.
- area: Game.Inventory
- confidence: 0.91
The new quantity of one stack you already hold, and where the change came from.
- Kind event
- Area Game.Inventory
- Named by beta, gamemapping
The singular form of ObjectsQuantityEvent: one stack, its new quantity, and
an origin.
THE QUANTITY IS THE NEW TOTAL, NOT A DELTA. The client looks the stack up by
ObjectUidWithQuantity.object_uid and SETS its size to
ObjectUidWithQuantity.quantity. If you want "how many did I just get",
subtract what you held before - which is exactly what the client does for its
quest message.
IT NEVER INTRODUCES A STACK. It updates one you already hold; an unknown uid means you missed an earlier add.
THE ORIGIN SAYS WHY. When it is ObjectOrigin.ORIGIN_QUEST and the stack grew,
the client also posts the "item obtained" chat line with the gained amount.
With any other origin the update is silent.
TWO DECLARED MEMBERS ARE PADDING the client never reads.
When you may send it
- Requires
character_selectedinferred
Related messages
- Unsolicited - nothing you send causes this the server pushes it whenever one stack's size changes; no request asks for it
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | origin | ObjectOrigin | Why the quantity changed.ObjectOrigin.ORIGIN_QUEST makes the client announce the gained amount in chat; other values change nothing visible. | never |
| 3 | object | ObjectUidWithQuantity | The stack being updated and its new quantity. An ObjectUidWithQuantity whose quantity is the stack's NEW TOTAL, not a delta. | never |
Recovered with score 310, confidence 0.91, margin 310 over the runner-up. A margin close to the score means nothing else came near; a thin margin means a decoy nearly won. Members recovered: 2 of 4.
Aucun avis à afficher.