OnEquipmentItemRecord
function · objectlayer · primitive
- Address
0x5ed880· 75 bytes, up to0x5ed8ca- Meaning
- Applies a slot's display once its item record arrives and counts the wait down
- Confidence
- verified, proof one
- Finding
- objectlayer/inventory#visible-equipment
Finding: Visible equipment in objectlayer: inventory
A visible-item change (playerfields) calls 0x4fca20(0), 0x4f60c0 and 0x4c7ee0; for the
active player it calls 0x4e5c70 on the old and new entries and signals UNIT_ATTACK for the
hands or UNIT_RANGED_ATTACK_POWER for the ranged slot. It then detaches the old display from the
model and applies the new. 0x5ed700(record, slot) applies a display: the weapon slots 15 to 17
attach to the hands; the head and back are skipped while PLAYER_FLAGS hides them; the tabard
goes through 0x5e0720; the rest go to the character component. The non-hand slots apply only
while the display is the native one. A record not yet cached counts in +0x1d20 until it arrives.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 3
- ClntObjMgrObjectPtr objectlayer
- CGPlayer_C::ApplyEquipmentDisplay objectlayer
- CGPlayer_C::GetVisibleItem objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.