benilla-re systems structs docs

s_inventoryAlertStatus

global · ui

Address
0xb71f60 · 4 bytes, up to 0xb71f63
Type
uint32_t *
Meaning
Points to the 12 alert statuses, one per region, rewritten whole by 0x4c7ee0
Confidence
verified, proof one
Finding
ui/inventory#inventory-alerts

Finding: Inventory alerts in ui: inventory queries and alerts

The client keeps 12 alert statuses, recomputed whole by 0x4c7ee0 and read by GetInventoryAlertStatus(index) (0x4c94b0), which returns status[index - 1] as a number, and 0 for an index outside 1 to 12; a non-number raises Usage: GetInventoryAlertStatus(index). The regions are flat slots 0, 2, 4, 5, 6, 7, 8, 9, 15, 16 and 17 (head, shoulders, chest, waist, legs, feet, wrists, hands, main hand, off hand, ranged) and, last, ammunition. Each pass sets all 12 to 0 and fires UPDATE_INVENTORY_ALERTS (501) unconditionally at its end, whether or not a status changed. With no active player it does nothing.

The derivation is in the doc.