WoW API: EquipPendingItem

From AddOn Studio
Revision as of 13:15, 11 July 2006 by WoWWiki>Morevit
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < EquipPendingItem


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

EquipPendingItem(invSlot)


Parameters

Arguments

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

Returns

unknown

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.