WoW:API IsInventoryItemLocked: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(upgraded deprecated template) |
||
Line 1: | Line 1: | ||
{{wowapi}} | |||
Returns whether an inventory item is locked, usually as it awaits pending action. | Returns whether an inventory item is locked, usually as it awaits pending action. | ||
Line 13: | Line 14: | ||
* PickupInventoryItem on an empty slot will not lock that slot. | * PickupInventoryItem on an empty slot will not lock that slot. | ||
* PickupInventoryItem on the ammo slot will not lock that slot. | * PickupInventoryItem on the ammo slot will not lock that slot. | ||
Revision as of 18:13, 6 January 2007
← 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.