benilla-re systems structs docs

s_paperDollSlotStore

global · ui

Address
0xc0da00 · 20 bytes, up to 0xc0da13
Type
uint32_t[5]
Meaning
Holds the PaperDollItemFrame.dbc store: 16-byte records at +0, their count at +4, a loaded flag at +0x10
Confidence
verified, proof one
Finding
ui/bags#slot-names

Finding: Slot names in ui: bags and bag slots

GetInventorySlotInfo(name) is 0x4c81b0. The argument is a string or a number (turned into a string). It walks the PaperDollItemFrame.dbc record store in file order and takes the first row whose ItemSlotName equals the argument without regard to ASCII case, over the whole string. A match returns three values: the SlotNumber, the SlotIcon string as stored, and the number 1 when SlotNumber is 18 (the ranged slot), else nil. A miss, a missing argument or an empty store raises Invalid inventory slot in GetInventorySlotInfo; the name is not in the message.

The derivation is in the doc.