benilla-re systems structs docs

RegisterUnitCombatMessages

function · objectlayer · orchestration

Address
0x625520 · 141 bytes, up to 0x6255ac
Meaning
Registers the unit combat handler for eight opcodes, then the combat log handlers
Confidence
verified, proof one
Finding
objectlayer/unitcombat#attack-messages

Finding: Attack messages in objectlayer: unit combat

0x625520 registers 0x6255b0 for eight opcodes, then the combat log's; 0x625bd0 clears them.

opcodebodyaction
0x143attacker GUID, victim GUIDthe attacker's target +0xc48 is the victim; the player raises PLAYER_ENTER_COMBAT
0x144packed attacker, packed victim, u320x624e40 stops the attack; the player raises PLAYER_LEAVE_COMBAT
0x145, 0x146nonethe attack error state 1 or 2 (players, Attack error repeat)
0x148, 0x149nonethe active player's melee attack stops
0x14athe attacker statebelow
0x1fcGUID, u8 type, i32 damage, absorbed, resisted0x624f30, environmental damage

The derivation is in the doc.

Callers 1

Callees 2

Calls and jumps by a bare address, from tables/calls.tsv.