WoW API: ConfirmLootSlot

Revision as of 04:45, 15 August 2023 by Move page script (talk) (Move page script moved page API ConfirmLootSlot to API ConfirmLootSlot without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < ConfirmLootSlot

After a Bind on Pickup item has been looted via a LootButton, this function needs to be called to confirm that the player wants to loot the item.

ConfirmLootSlot(slot)

Parameters

Arguments

(slot)
slot
number - the loot slot of a BoP loot item that is waiting for confirmation

Returns

unknown

Example

ConfirmLootSlot(1)

Result

If the player has already clicked on a LootButton object with loot index 1, and the item is "Bind on Pickup" and awaiting confirmation, then the item will be looted and placed in the player's bags.