benilla-re systems structs docs

LootButton::SetSlot

function · ui · primitive

Address
0x4c1880 · 198 bytes, up to 0x4c1945
Signature
uint32_t __thiscall (LootButton *this)
Meaning
Stores the slot of a loot button from a 1-based index
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/loot#the-row-widget

Finding: The row widget in ui: the loot window

LootButton is a frame type that CreateFrame and the XML loader can build (0x495a30 is its factory, registered at 0x4959ad): a button of 0x4e0 bytes, one more dword (+0x4dc) than the base, holding a 0-based slot. It has one method of its own, SetSlot(index), which stores the 1-based index minus 1 and returns nothing (Usage: SetSlot(index)). It overrides six virtuals of the button, of which only the click matters. Its script surface is the button's, and no hover or drag code asks for the type.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 8

Calls and jumps by a bare address, from tables/calls.tsv.