Script::LootSlot
function · ui · primitive
- Address
0x4c2e70· 69 bytes, up to0x4c2eb4- Signature
int __fastcall (lua_State *L)- Meaning
- Confirms the pending loot slot with the slot argument and returns nothing
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/loot#loot-functions
Finding: Loot functions in ui: the loot window
LootSlot(index) (1-based) calls 0x4c2790(index - 1, 1), the confirmation form, which acts only on the pending row; no
Lua function takes a row directly, the take lives in the row widget's click. CloseLoot([flag]) closes the loot with
release; a true argument also shows ERR_LOOT_NO_UI. IsFishingLoot() returns 1 when the stored loot type is 3, else
nil. SetLootPortrait(texture) bakes the loot source unit's portrait into a texture (0x524f60) and returns 1, or
clears the texture and returns nil when the source is not a unit.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 5
- __ftol crt
- TakeLootRow ui
- lua_isnumber lua
- lua_tonumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.