benilla-re systems structs docs

CGPlayer_C::LootUnit

function · objectlayer · primitive

Address
0x5df2a0 · 434 bytes, up to 0x5df451
Meaning
Loots a lootable unit: checks it may, walks up beyond reach, sends CMSG_LOOT and plays animation 50
Confidence
verified, proof one
Finding
objectlayer/interaction#looting
Test
objectlayer::interact_reach_5df2a0_difftest

Finding: Looting in objectlayer: interaction

0x5ec110(object) allows a loot when no loot is held, the player is alive with mover flag 0x2000 and unit flag 0x40000 clear, and in control; when the object cannot be reached by walking, it must also be within the reach (for a unit, both combat reaches plus 4/3, at least 5; else 5). 0x5df2a0(unit, walk) loots a unit: lootable, the mover still, it walks up beyond reach, then sends 0x15d, holds the GUID and plays animation 50. 0x5df130 does the same for a corpse, walking up beyond 5 yards (25 squared).

The derivation is in the doc.

Callers 2

Callees 9

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