- summary: One team option of a fight changed: which fight, which team, which option and its new state.
- area: Game.Fight.Preparation
One team option of a fight changed: which fight, which team, which option and its new state.
Kind event · Area Game.Fight.Preparation
Reports the new state of one team option of one fight - after your own
FightOptionToggleRequest, or when another team's leader changes theirs.
WHAT TO DO WHEN YOU RECEIVE IT
1. Find the fight by FightOptionUpdateEvent.fight_id and its team by
FightOptionUpdateEvent.team (Team).
2. Set the option FightOptionUpdateEvent.option (FightOption) to
FightOptionUpdateEvent.state: true = on.
3. SEND NOTHING BACK.
WHAT THE CLIENT DOES. The fight HUD service updates its option buttons from the option and the state; the map-fights service updates the fight's team options in the map's fight list (so it also arrives for fights you are not in, shown on your map).
When you may send it
- Requires
context_readyinferred
Related messages
- Arrives after
FightOptionToggleRequest
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | team | Team | The team whose option changed. Type Team. | never |
| 2 | state | bool | The option's new state: true = on. | never |
| 3 | option | FightOption | The option that changed. Type FightOption. | never |
| 4 | fight_id | int32 | The fight whose option changed. (fight id) | never |