- summary: Opens the challenge choice: the challenges the team may pick from and how long the choice stays open.
- area: Game.Challenge
Opens the challenge choice: the challenges the team may pick from and how long the choice stays open.
Kind event · Area Game.Challenge
The challenges the team may choose from, and the time left to choose.
WHAT TO DO WHEN YOU RECEIVE IT
1. Keep ChallengeProposalEvent.challenge_proposals as the current proposals.
2. Start a countdown of ChallengeProposalEvent.timer SECONDS. The client multiplies
the value by 1000 and runs its choice timer in milliseconds.
3. To pick one, send ChallengeSelectionRequest with its challenge id, then
ChallengeValidateRequest. The selection is echoed by ChallengeSelectedEvent.
4. The choice ends with ChallengeListEvent: the client closes the choice window
when the fight's challenge list arrives.
WHEN IT ARRIVES. In choice mode, once the fighters are ready (ChallengeReadyRequest).
NOT THE FIGHT'S CHALLENGES. Proposals are candidates; only ChallengeListEvent and
ChallengeAddEvent say which challenges the fight actually has.
PADDING. Builds declare a second list of challenge records, a bool or a nested record beside the real members; the client reads one list and one int64.
When you may send it
- Requires
context_readyinferred
Related messages
- Arrives after
ChallengeReadyRequest
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 3 | timer | int64 | How long the choice stays open, in seconds; the client multiplies it by 1000. (seconds) | never |
| 4 | challenge_proposals | repeated Challenge | The challenges the team may choose from. | never |