NotifyItemSlotChanged
function · ui · primitive
- Address
0x4c7180· 369 bytes, up to0x4c72f0- Signature
void __stdcall (uint64_t item)- Meaning
- Raises the inventory or bank slot event for the slot an item sits in, and the ammo event
- Confidence
- verified, proof one
- Finding
- ui/bags#slot-change-events
Finding: Slot change events in ui: bags and bag slots
0x4c7180(guid) is called from the item field watchers with an item GUID. It finds the item's flat slot by scanning
the table for the GUID, else for its container's GUID, so an item in a bank bag reports the bag's slot. Slots 0 to 22
raise UNIT_INVENTORY_CHANGED("player"); slots 39 to 68 raise PLAYERBANKSLOTS_CHANGED("player") (347). Then, whether
or not a slot was found, an item whose entry equals PLAYER_AMMO_ID of the active player raises
UNIT_INVENTORY_CHANGED("player") as well.
The derivation is in the doc.
Callers 5
- CGItem_C::Deactivate objectlayer
- OnItemStackCountChanged objectlayer
- OnItemEntryChanged objectlayer
- OnChangedItemRecordArrived objectlayer
- RefreshItemEnchantmentVisual objectlayer
Callees 3
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- FrameScript_SignalEvent2 ui
Calls and jumps by a bare address, from tables/calls.tsv.