- summary: Updates the targets of one challenge of the current fight: the fighters the challenge is about.
- area: Game.Challenge
Updates the targets of one challenge of the current fight: the fighters the challenge is about.
Kind event · Area Game.Challenge
Refreshes the targets of ONE challenge you already know. The payload is a whole challenge record, but only its id and its target list are used.
WHAT TO DO WHEN YOU RECEIVE IT
1. Find the challenge by the record's challenge id among the challenges of the
current fight (from ChallengeListEvent and ChallengeAddEvent).
2. IF YOU DO NOT KNOW IT, IGNORE THE MESSAGE. The client logs a warning ("challenge
... not known. Skipping.") and changes nothing: this message never creates a
challenge.
3. Replace that challenge's targets with the record's target list. Leave its state
and bonuses alone.
4. SEND NOTHING BACK.
WHEN IT ARRIVES. After a ChallengeTargetsRequest (the client asks when it builds a
challenge's tooltip), and on its own when a challenge's targets change.
DO NOT TREAT IT AS AN ADD. ChallengeAddEvent carries the same record and inserts or
replaces the challenge; this one only updates the targets of an existing one.
PADDING. Builds pad this message with unread members; the challenge record is the only member the client reads.
When you may send it
- Requires
context_readyinferred
Related messages
- Arrives after
ChallengeTargetsRequest
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | challenge | Challenge | The challenge whose targets changed; only its id and its target list are used. | never |