CGPlayer_C::ApplyEquipmentDisplay
function · objectlayer · primitive
- Address
0x5ed700· 375 bytes, up to0x5ed876- Meaning
- Puts a slot's item display on the model, waiting for its record when not cached
- 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 4
- CGPlayer_C::OnVisibleItemChanged objectlayer
- OnEquipmentItemRecord objectlayer
- CGPlayer_C::ReapplyItemDisplay objectlayer
- CGUnit_C::BuildCharacterComponent objectlayer
Callees 6
- SetCharacterComponentItem charactermodel
- DBCache_ItemStats_C_int_HASHKEY_INT_::GetRecord dbcache
- CGPlayer_C::ApplyTabard objectlayer
- CGUnit_C::RebuildWeaponTrail objectlayer
- CGUnit_C::AttachHandItem objectlayer
- GetItemDescDisplayId objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.