- summary: Asks to switch the fight's challenge mode between choosing challenges and getting them at random.
- area: Game.Challenge
Asks to switch the fight's challenge mode between choosing challenges and getting them at random.
Kind request · Area Game.Challenge
Changes how the fight's challenges are decided.
HOW TO SEND IT
1. Only during placement, from the challenge settings: the official client sends it
when the random-challenges switch is toggled, and when the settings window opens.
2. Put the wanted mode in ChallengeModSelectRequest.challenge_mod, a
ChallengeMod value. Its values are not named here: reuse a value you received
in ChallengeModSelectedEvent rather than guessing a number.
3. Wait for ChallengeModSelectedEvent: the mode is only in effect when the server
announces it.
NOT THE READY CLICK. ChallengeReadyRequest carries the same type but is sent by the
placement ready button.
When you may send it
- Requires
context_readyinferred - Raised by: the player toggles the random-challenges switch of the fight's challenge settings (the window also sends the current mode when it opens) proven
Related messages
- You will then receive
ChallengeModSelectedEventinferred — the server announces the fight's mode to every fighter; the client updates its widget from that event, not from this request
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 2 | challenge_mod | ChallengeMod | The challenge mode to switch to. Type ChallengeMod; its values are not named. | required |