WoW:API EquipPendingItem: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Move page script moved page API EquipPendingItem to API EquipPendingItem without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 11: Line 11:
:(invSlot)
:(invSlot)


:;invSlot : Numeric - The [[API TYPE InventorySlotID|inventory slot ID]] of the item being equipped
:;invSlot : [[API TYPE InventorySlotID|InventorySlotID]] - The slot ID of the item being equipped
 
=== Returns ===
unknown


==Details==
==Details==
: When the player attempts to use a Bind-on-Equip or Bind-on-Pickup item for the first time, the game triggers a confirmation dialog. This method appears to be an internal method used by that dialog which equips the item which activated the dialog if accepted. As such it should not be used by custom addons.
: When the player attempts to use a Bind-on-Equip or Bind-on-Pickup item for the first time, the game triggers a confirmation dialog. This method appears to be an internal method used by that dialog which equips the item which activated the dialog if accepted. As such it should not be used by custom addons.

Latest revision as of 04:45, 15 August 2023

WoW API < EquipPendingItem


Equips the currently pending Bind-on-Equip or Bind-on-Pickup item from the specified inventory slot.

EquipPendingItem(invSlot)


Parameters[edit]

Arguments[edit]

(invSlot)
invSlot
InventorySlotID - The slot ID of the item being equipped

Details[edit]

When the player attempts to use a Bind-on-Equip or Bind-on-Pickup item for the first time, the game triggers a confirmation dialog. This method appears to be an internal method used by that dialog which equips the item which activated the dialog if accepted. As such it should not be used by custom addons.