WoW API: ConfirmLootSlot

From AddOn Studio
Jump to navigation Jump to search

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[edit]

Arguments[edit]

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

Returns[edit]

unknown

Example[edit]

ConfirmLootSlot(1)

Result[edit]

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.