- summary: A fighter has left the fight you are in, during placement or during the fight itself.
- area: Game.Fight.Preparation
A fighter has left the fight you are in, during placement or during the fight itself.
Kind event · Area Game.Fight.Preparation
One fighter is gone from your fight. The only value is who:
FightLeaveEvent.character_id.
WHAT TO DO WHEN YOU RECEIVE IT
1. Remove the fighter FightLeaveEvent.character_id from your fight: from the
fighters you show, from the team it was in and from the turn order.
2. IF THE ID IS YOUR OWN CHARACTER, you are out of the fight. The client treats
that case apart; expect the context to change back to roleplay.
3. SEND NOTHING BACK. No handler of this message builds a request.
WHAT THE CLIENT DOES. Both fight services handle it: - in the placement phase, the fight-preparation service removes the fighter from its placement state and refreshes the placement display; - during the fight, the battle service queues the departure as a fight sequence step, so it is played in order with the actions around it, and, when the id is not the player's own, announces the departure to the rest of the client (the map information panel, the chat and the fighter tooltips all listen for it).
DO NOT CONFUSE IT WITH FightTeamRemoveMemberEvent. That one edits a team of a fight
shown on the map (any fight, by fight id); this one is about the fight you are in.
When you may send it
- Requires
context_readyinferred
Related messages
- Unsolicited - nothing you send causes this the server announces a departure when it happens (a player abandons, is kicked or disconnects); no request asks for it
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | character_id | int64 | The fighter that left the fight; your own character id when it is you. (entity id) | never |