CGPlayer_C::GetVisibleItem
function · objectlayer · primitive
- Address
0x5f0d60· 44 bytes, up to0x5f0d8b- Signature
void * __thiscall (CGPlayer_C *this, uint32_t slot)- Meaning
- Returns the 48-byte visible-item block of an equipment slot below 19, else 0
- 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 14
- Script::GetInventoryItemTexture ui
- Script::GetInventoryItemLink ui
- Script::UnitRangedDamage ui
- CGTooltip::BuildItem ui
- GameTooltip::SetInventoryItem ui
- RefreshItemEnchantmentVisual objectlayer
- CGPlayer_C::OnVisibleItemChanged objectlayer
- CGPlayer_C::GetVirtualItem objectlayer
- CGPlayer_C::GetVirtualItemDisplay objectlayer
- OnEquipmentItemRecord objectlayer
- CGPlayer_C::ShowHelm objectlayer
- CGPlayer_C::ShowCloak objectlayer
- CGPlayer_C::AttachHandEnchant objectlayer
- CGUnit_C::BuildCharacterComponent objectlayer
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.