WoW:API ConfirmLootSlot: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
 
m (Move page script moved page API ConfirmLootSlot to WoW:API ConfirmLootSlot without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 22: Line 22:
<!-- If it helps, include example results here, though they are not required-->
<!-- If it helps, include example results here, though they are not required-->
: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.
: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.
==Details==
<!-- Details not appropriate for the main description can go here -->
:
----
__NOTOC__
Copied by [[user:egingell|egingell]] from [[API LootSlot]].

Latest revision as of 04:45, 15 August 2023

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.