s_lootCoinShown
global · ui
- Address
0xb71bc4· 4 bytes, up to0xb71bc7- Type
uint32_t- Meaning
- Holds 1 once an auto-loot sweep has run for the open source, which limits the coin sound and line to the first
- Confidence
- verified, proof one
- Finding
- ui/autoloot#auto-loot
Finding: Auto-loot in ui: auto-loot
0x4c1fa0(flag) sweeps the open window. It returns at once while item records are pending, and with no active player only signals LOOT_OPENED. Otherwise, in order: it sends CMSG_LOOT_MONEY when the money cell is not 0 (−1 too), and for money above 0 plays the coin sound and, outside a party and a raid, prints the money line, once per source; it sends each row of loot type 0 as a click does (item sound, CMSG_AUTOSTORE_LOOT_ITEM), except a bind-on-pickup row of quality 2 or more, of which the first raises LOOT_BIND_CONFIRM; other types are left; it clears the player's auto-loot byte; then it closes the loot with release when LootHasContents finds nothing, else signals LOOT_OPENED if flag is 0.
The derivation is in the doc.