WoW:API IsInventoryItemLocked: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
m (Move page script moved page API IsInventoryItemLocked to API IsInventoryItemLocked without leaving a redirect)
 
(No difference)

Latest revision as of 04:46, 15 August 2023

WoW API < IsInventoryItemLocked

Returns whether an inventory item is locked, usually as it awaits pending action.

isLocked = IsInventoryItemLocked(slotId)

Arguments
slotId
Number - The slot ID used to refer to that slot in the other GetInventory functions.
Returns
isLocked
Flag - 1 if the slot is locked, nil otherwise

Notes

  • PickupInventoryItem on an empty slot will not lock that slot.
  • PickupInventoryItem on the ammo slot will not lock that slot.