- summary: How many kamas are in the character's bank. An absolute amount to overwrite; nothing is sent back.
- area: Game.Inventory
How many kamas are in the character's bank. An absolute amount to overwrite; nothing is sent back.
Kind event · Area Game.Inventory
WHAT TO DO WHEN YOU RECEIVE IT: overwrite the bank amount you track with
StorageKamasUpdateEvent.kamas and recompute total wealth (carried plus bank). SEND
NOTHING BACK - no handler of this message builds a request, and a static walk through
the notifications it raises reaches none.
The kamas held in the bank, as opposed to the kamas the character carries, which arrive
in KamasUpdateEvent.
TREAT IT AS THE AMOUNT, NOT A CHANGE. The client stores the value as the bank's kamas and hands it unchanged to the bank window. Overwrite what you track rather than adding to it.
IT ALSO MOVES THE TOTAL. Right after storing it, the client recomputes the character's
total wealth as carried kamas plus this value and raises the same total-kamas
notification that KamasUpdateEvent raises. A script that shows total kamas has to
follow both messages.
ONE DECLARED MEMBER IS REAL. Builds pad this message with an int32, a repeated int32 or a
nested decoy message; the client reads only StorageKamasUpdateEvent.kamas.
When you may send it
- Requires
character_selectedinferred
Related messages
- Arrives after
ExchangeMoveKamaRequest
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | kamas | int64 | The kamas currently held in the bank. (kamas) An absolute amount, not a delta. The client adds it to the carried kamas to show total wealth. | never |