RefreshItemEnchantmentVisual
function · objectlayer · orchestration
- Address
0x5d9a90· 216 bytes, up to0x5d9b67- Meaning
- Refreshes an item's enchantment display and its equipped visual
- Confidence
- verified, proof one
- Finding
- objectlayer/items#item-field-watchers
Finding: Item field watchers in objectlayer: items
At start-up the item code registers six type watchers on item fields; shutdown removes them and empties the icon cache. Each watcher finds the item by GUID and acts for the active player's item.
| field | watcher | action |
|---|---|---|
ITEM_FIELD_STACK_COUNT | 0x5d9400 | the record arrival's lock step, refreshes, the action-bar recount 0x4e5c70 |
ITEM_FIELD_SPELL_CHARGES, 5 | 0x5d9540 | 0x4e5c70, BAG_UPDATE_COOLDOWN |
ITEM_FIELD_ENCHANTMENT, 21 | 0x5d95a0 | 0x5d9a90, which calls 0x4e5c70 |
OBJECT_FIELD_ENTRY | 0x5d95e0 | 0x4e5c70 for the old entry, asks for the new record, 0x4e5c70 for the new |
ITEM_FIELD_FLAGS, 2 bytes | 0x5d96e0 | bit 0x10 changed on an equipped item |
ITEM_FIELD_DURABILITY | 0x5d97c0 | the model's weapon and shield display |
The derivation is in the doc.
Callers 1
- OnItemEnchantmentChanged objectlayer
Callees 10
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- TradeInfoRefreshPlayerItem ui
- NotifyItemSlotChanged ui
- RecomputeInventoryAlerts ui
- RecountItemActionSlots ui
- RaiseItemBagUpdate ui
- CGPlayer_C::FindSlotIndex objectlayer
- CGPlayer_C::AttachWeaponEnchant objectlayer
- CGPlayer_C::GetVisibleItem objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.