- summary: During fight placement, tells the server whether your character is ready for the fight to start.
- area: Game.Fight.Preparation
During fight placement, tells the server whether your character is ready for the fight to start.
Kind request · Area Game.Fight.Preparation
Toggles your character's ready state while the fight is being prepared.
HOW TO USE IT
1. Place your fighters first (FightPlacementPositionRequest), within your team's
cells from FightPlacementPossiblePositionsEvent.
2. Send is_ready = true. The fight starts when every human fighter is ready, or when
the placement timer runs out.
3. To take it back before the fight starts, send is_ready = false.
THE CLIENT SENDS THE VALUE THE BUTTON ASKS FOR. The ready button raises a client action that carries the new state, and the writer copies it unchanged. It is not a constant, so a client can also send false to take the ready state back.
TWIN WARNING: FightTurnReadyRequest has the same shape. That one is sent during the
fight, after each turn's animations, and is always true; this one is sent only in the
placement phase, from the ready button.
WHAT COMES BACK. The server echoes the new state to every human fighter as
FightHumanReadyStateEvent - read your own ready state from it. When every human
fighter is ready, or the placement countdown elapses, the fight starts with
FightStartEvent.
When you may send it
- Requires
context_readyinferred - Raised by: during the placement phase, the player clicks the ready/skip button of the fight's end-turn widget (the client also raises it after a challenge mode is picked); the client sends the new ready state proven
Related messages
- You will then receive
FightHumanReadyStateEventinferred — the server echoes each human fighter's ready state; the client switches its ready button from that echo for its own character, not from this request. No capture of a ready click yet
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | is_ready | bool | true: your character is ready for the fight to start; false: no longer ready. Copied unchanged from the ready button's client action; the writer never writes a constant here. | required |