- summary: The character's entire inventory and kamas balance, pushed by the server as a full snapshot.
- area: Game.Inventory
- confidence: 0.97
The character's entire inventory and kamas balance, pushed by the server as a full snapshot.
- Kind event
- Area Game.Inventory
- Named by beta
The whole inventory in one message: every item the character holds, plus the kamas balance.
IT IS A SNAPSHOT, NOT A DELTA - REPLACE YOUR MODEL, DO NOT MERGE. An item that is absent from this message is an item the character no longer has. A script that merges keeps phantom stacks forever, most visibly after a trade, a bank withdrawal, or any server-side resynchronisation.
Each element is an ObjectItemInventory: the item itself plus where it sits
and how the player tagged it. The item is an ObjectItem, whose
ObjectItem.uid is the handle every later request needs - destroy, drop,
move, exchange. Index your model by that uid and nothing else.
KAMAS IS A 64-BIT VALUE and a wealthy character exceeds 2^31. A 32-bit accumulator overflows.
Do not assume you see this exactly once. It arrives at login and can arrive again unprompted at any time.
When you may send it
- Requires
character_selectedobserved
Related messages
- Unsolicited - nothing you send causes this the server pushes it during the login burst and again whenever it resynchronises; no request asks for it
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | kamas | int64 | The character's kamas balance at the moment of the snapshot. (kamas) 64-bit; do not narrow it. | never |
| 2 | objects | repeated ObjectItemInventory | Every item the character holds, each wrapped with its inventory position and tags. Element type is ObjectItemInventory, not ObjectItem - the item is one level down. | never |
Recovered with score 180, confidence 0.97, margin 180 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 2.
Aucun avis à afficher.