benilla-re systems structs docs

RaiseItemBagUpdate

function · ui · orchestration

Address
0x4f9480 · 90 bytes, up to 0x4f94d9
Signature
void __stdcall (uint64_t item)
Meaning
Raises BAG_UPDATE for the container of an item the active player owns
Confidence
verified, proof one
Finding
ui/bags#an-items-container-update

Finding: An item's container update in ui: bags and bag slots

0x4f9480(item) raises BAG_UPDATE for the container an item sits in, when the item is a live object owned by the active player: through 0x4f9370 with ITEM_FIELD_CONTAINED, so 0 for an item directly in the player, the cache index 1 to 10 of a cached bag, and nothing for a bag outside the cache. An item that is not found or not the active player's raises nothing. The item code calls it when a record is applied, the stack count or the entry changes, a changed record arrives, and the enchantment visual refreshes.

The derivation is in the doc.

Callers 5

Callees 3

Calls and jumps by a bare address, from tables/calls.tsv.