- summary: The list of things a character may not do right now (attack, exchange, move...).
- area: Game.Character
The list of things a character may not do right now (attack, exchange, move...).
Kind event · Area Game.Character
Replaces the restrictions of one character.
WHAT TO DO
1. Read character_id. If it is your own character, these are YOUR restrictions;
otherwise they belong to that character on your map.
2. Replace that character's restriction set with restrictions (Restriction values;
an empty list lifts every restriction).
Use it to know what you may do before sending a request (for example after death, when most actions are restricted).
When you may send it
- Requires
context_readyinferred
Related messages
- Unsolicited - nothing you send causes this inferred — the server sends it whenever a character's restrictions change (death, fight, special maps)
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | restrictions | repeated Restriction | The character's restrictions now in force; empty means none. Element type Restriction. | never |
| 2 | character_id | int64 | The character the restrictions apply to (often your own). (character id) The client compares it with your own character id. | never |