s_actionSlots
global · ui
- Address
0xbc6980· 480 bytes, up to0xbc6b5f- Type
uint32_t[120]- Meaning
- Holds the 120 action slot words, the kind in the top nibble
- Confidence
- verified, proof one
- Finding
- ui/actionbar#action-slots
Finding: Action slots in ui: action bars
The bar holds 120 slots, one dword each in 0xbc6980. The top nibble is the kind: 0 a spell (the word
is the spell id), 0x40000000 a macro (the word with bit 30 cleared is the macro id), 0x80000000 an item
(the word with bit 31 cleared is the item entry). Any other nibble stands for nothing. Beside it sit
three tables of 120 dwords: item count or charges 0xbc6390, usable flag 0xbc6b60, no-power flag
0xbc67a0. 0x4e4f50 zeroes the four and the bonus offset 0xbc6e88. Every Lua function turns its
slot into an integer with __ftol and subtracts 1; its core refuses a slot outside 0 to 119.
The derivation is in the doc.