- summary: Joins a fight that is running on your map, on the side of one of its team leaders, or as a spectator with fighter id 0.
- area: Game.Fight.Preparation
Joins a fight that is running on your map, on the side of one of its team leaders, or as a spectator with fighter id 0.
Kind request · Area Game.Fight.Preparation
Enters a fight that already exists on your map: as a fighter on one team, or as a spectator.
HOW TO SEND IT
1. BE ON THE MAP OF THE FIGHT, in roleplay. Fights on the map are announced by
ShowChallengeEvent and in the map's contents (MapComplementaryInformationEvent),
each as a FightCommonInformation.
2. PUT THE FIGHT'S ID in FightJoinRequest.fight_id
(FightCommonInformation's fight id).
3. CHOOSE THE SIDE WITH FightJoinRequest.fighter_id:
- to fight, the id of the LEADER of the team you join (each team of the fight
names its leader);
- to watch, 0. The client's "spectate" button sends exactly that.
4. If accepted you enter the fight like after an attack: FightStartingEvent,
FightJoinEvent, one FightFighterShowEvent per fighter, then placement.
WHERE THE CLIENT SENDS IT
- clicking a fight's swords on the roleplay map (the roleplay world handler builds it directly); - the map's fight list: choosing a team (that team's leader id) or Spectate (0); - the party window, to join the fight a party member is in.
A FIGHT YOU MAY NOT JOIN (locked, full, closed to spectators - see the fight options) is refused by the server. The client does not check it first.
When you may send it
- Requires
roleplay_contextinferred - Raised by: the player clicks a fight's swords on the map, picks a team or Spectate in the map's fight list, or joins a party member's fight from the party window proven
Related messages
- You will then receive
FightStartingEventinferred — joining as a fighter enters the fight like an attack does; no capture of a join yet - Reply not yet recovered: Spectating has its own join announcement (FightSpectatorJoinEvent, no signature yet).
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 2 | fight_id | int32 | The fight to enter, by the fight id the map's fight announcements carry. (fight id) | required |
| 3 | fighter_id | int64 | The leader of the team to join, or 0 to watch the fight as a spectator. (entity id (team leader), 0 = spectate) | required |