Files
wow_Meta/api/LootSlot.lua
2025-05-04 15:15:00 +02:00

7 lines
554 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param slot number
---Attempts to pick up an item available as loot. If the item in the loot slot binds on pickup, the LOOT_BIND_CONFIRM event fires, indicating that ConfirmLootSlot(slot) must be called in order to actually loot the item. Please note: if you call this while processing a LOOT_OPENED event and it is the last item to be looted from the corpse, can cause LOOT_CLOSED to fire and be processed before your LOOT_OPENED event handler completes.
function LootSlot(slot) end