- summary: Switches one option of your team in the fight: closed to spectators, party only, closed, or asking for help.
- area: Game.Fight.Preparation
Switches one option of your team in the fight: closed to spectators, party only, closed, or asking for help.
Kind request · Area Game.Fight.Preparation
Flips one option of your team in the current fight. It is a TOGGLE: the message names the option, not the new state. Sending it twice switches the option back.
HOW TO SEND IT
1. Put the option in FightOptionToggleRequest.option (FightOption):
- FightOption.FIGHT_OPTION_SET_SECRET: forbid spectators;
- FightOption.FIGHT_OPTION_SET_TO_PARTY_ONLY: only your party may join;
- FightOption.FIGHT_OPTION_SET_CLOSED: nobody may join;
- FightOption.FIGHT_OPTION_ASK_FOR_HELP: ask other players for help.
2. Read the result from FightOptionUpdateEvent.state; do not assume it.
WHERE THE CLIENT SENDS IT. Each option button of the fight HUD raises its own client action, and the writer for that action stores one constant option. The party window raises the party-only lock too.
When you may send it
- Requires
context_readyinferred - Raised by: the player clicks one of the four option buttons of the fight HUD (forbid spectators, lock to party, lock the fight, ask for help), or locks the fight from the party window proven
Related messages
- You will then receive
FightOptionUpdateEventinferred — the option's new state for the team; the service that sends this request handles it; no capture yet
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | option | FightOption | The option to switch. Type FightOption. | required |