benilla-re systems structs docs

HandleUnitCombatMessage

function · objectlayer · primitive

Address
0x6255b0 · 1339 bytes, up to 0x625aea
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Handles the attack, attacker state and environmental damage messages
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 0

None by a direct call or jump.

Callees 26

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