s_cursorGridShown
global · ui
- Address
0xb4da24· 4 bytes, up to0xb4da27- Type
uint32_t- Meaning
- Holds 1 when a pick-up showed the action or pet bar grid
- Confidence
- verified, proof one
- Finding
- ui/cursor#payload-kinds
Finding: Payload kinds in ui: the cursor payload
s_cursorType (0xb4d900) says what the cursor holds; 0 is nothing. Each kind owns its own globals.
| kind | holds | globals |
|---|---|---|
| 1 | an item | GUID 0xb4e248, source container GUID 0xb4b3c8, source slot 0xb4b400, split count 0xb4b40c |
| 2 | money | copper 0xb4e2f0 |
| 3 | a spell | spell id 0xb4e2f4 |
| 4 | a pet action | the action word 0xb4e2f8 |
| 5, 7, 9 | a preview | entry 0xb4b41c, display id 0xb4d8ec, index 0xb4b420 |
| 8 | a macro | macro id 0xb4e2fc |
| 10 | a stabled pet | stable index 0xb4e300 |
Kind 5 is a vendor row (the index is the row), kind 7 an action bar item, kind 9 ammo. Kind 6 has no writer.
The preview entry 0xb4b41c is nonzero exactly for kinds 5, 7 and 9, and GetCursorAmmo (0x495170) returns
it. 0x495180 returns the entry and index. 0xb4da24 is a latch, 1 when the grab showed a bar grid.
The derivation is in the doc.