- summary: One combatant: where and on which team it spawned, its fight characteristics, and who or what it is.
- area: Game.Common
One combatant: where and on which team it spawned, its fight characteristics, and who or what it is.
Kind struct · Area Game.Common
The fighter branch of ActorInformation, sent for every combatant by
FightFighterShowEvent and the fight synchronisation messages.
spawn_information gives the fighter's team, whether it is alive and its
position - see SpawnInformation. stats are its fight characteristics -
see FightCharacteristics: life, action and movement points, resistances,
and the summoned/summoner and invisibility state. wave is the monster wave the
fighter belongs to (0 for the first wave; the fight timeline shows it).
previous_positions are cells the fighter stood on earlier in the fight.
BRANCH ON fighter_information TO KNOW WHAT THE FIGHTER IS. named_fighter is a
player character (or a mutant), ai_fighter a monster or a tax collector, and
entity_fighter a companion bound to a master. The level lives inside the
branch.
Other members may appear (an int64 the client uses to resolve the fighter's effective level, a map the monster converter reads); they have no canonical name yet. Do not branch on them.
OTHER MEMBERS ARE NOT NAMED. Recent builds add a map of int32 to int32 (the client reads only key 0 and passes the value to the routine that creates the fighter's on-screen entity), an optional int64 (copied into the fighter's properties), a small nested record and a string (neither is read by the client). None has a proven meaning: ignore them.
Not sent on its own — it travels inside the fighter record of FightFighterShowEvent. inferred
Used by
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 4 | previous_positions | repeated int32 | Cells the fighter previously stood on in this fight. (cell id) | never |
| 7 | stats | FightCharacteristics | The fighter's fight characteristics - see FightCharacteristics. | never |
| 8 | spawn_information | SpawnInformation | Team, liveness and position the fighter spawned with - see SpawnInformation. | never |
| 9 | wave | int32 | Monster wave the fighter belongs to. (wave index) 0 for fighters present from the start. | never |
| 5 | named_fighter | NamedFighterInformation | Set for a player character or a mutant - see NamedFighterInformation. | never |
| 6 | ai_fighter | AIFighterInformation | Set for a monster or a tax collector - see AIFighterInformation. | never |
| 11 | entity_fighter | EntityFighterInformation | Set for a companion bound to a master - see EntityFighterInformation. | never |