RaiseBagEvents
function · ui · primitive
- Address
0x4f91a0· 456 bytes, up to0x4f9367- Signature
void __stdcall ()- Meaning
- Compares the ten bag slots with the cache and raises BAG_CLOSED and BAG_UPDATE for each change
- Confidence
- verified, proof one
- Finding
- ui/bags#bag-events
Finding: Bag events in ui: bags and bag slots
A change of a bag slot runs 0x4f8ec0(offset, length, guid, previous). A GUID it finds in the slot is resolved as an
item; when that is a container, each of its items refreshes the action slots that hold the item's entry (0x4e5c70).
Then 0x4f91a0 compares bags 1 to 10 (slots n + 18 for 1 to 4, n + 58 for 5 to 10) with the cache 0xbdd060 + 8(n-1). A bag
whose GUID differs fires BAG_CLOSED(n) first when the old GUID was not zero, and, after the cache is rewritten,
BAG_UPDATE(n) when the new one is not; an unchanged bag fires nothing. The ending calls refresh TRADE_SKILL_UPDATE
and CRAFT_UPDATE while those windows are open. BAG_CLOSED has no other raiser.
The derivation is in the doc.
Callers 2
Callees 5
- ClntObjMgrSetObjectMirrorHandler objectlayer
- ClntObjMgrClearObjectMirrorHandler objectlayer
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- FrameScript_SignalEvent2 ui
Calls and jumps by a bare address, from tables/calls.tsv.