- summary: One fight as seen from the map: its id, its type, its teams, where their swords stand and each team's options.
- area: Game.Common
One fight as seen from the map: its id, its type, its teams, where their swords stand and each team's options.
Kind struct · Area Game.Common
The description of one fight on a map, as a player outside it sees it. It travels in
two places: MapComplementaryInformationEvent.fights lists the fights already running
when the map loads, and ShowChallengeEvent announces each fight that starts later.
WHAT IT CARRIES
FightCommonInformation.fight_id which fight; use it to follow the fight
FightCommonInformation.type what kind of fight, a FightType
FightCommonInformation.teams_information one entry per team: its members, its
leader, its side and its type
FightCommonInformation.teams_position the map cell where each team's swords stand
FightCommonInformation.teams_options each team's options: secret, restricted to
the party, closed, asking for help
The three lists run in parallel, one entry per team - a captured two-team fight carries two teams, two cells and two option sets. That pairing is read from the shapes and one capture, not from client code.
HOW THE CLIENT USES IT. One routine turns the record into the client's fight object wherever it arrives: it keeps the id and the type, converts each team and each option set, and keeps the cells. The team and option records have no signature here, so their members keep obfuscated names in the recovered schema.
Some builds pad the record with a bool or a string; the client reads neither.
Not sent on its own — it is only ever carried by ShowChallengeEvent.fight_information and MapComplementaryInformationEvent.fights. inferred
Used by
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | type | FightType | What kind of fight it is. A FightType. | never |
| 2 | fight_id | int32 | Which fight. (fight id) Observed: 2066 | never |
| 3 | teams_position | repeated int32 | The map cell where each team's swords stand, one per team. (map cell id) Observed: [309, 310] | never |
| 4 | teams_information | repeated FightTeamInformation | The teams, one entry each: members, leader, alignment side and team type. A list of FightTeamInformation. In a monster fight the monster team's leader is the monster group's id on the map, which is negative. | never |
| 5 | teams_options | repeated type not documented yet | Each team's options: secret, restricted to the party, closed, asking for help. A list of FightOptionsInformation (four flags), which has no signature here; one entry per team. | never |