API GetInventoryItemCooldown

104,669pages on
this wiki
Add New Page
Talk0 Share
WoW API < GetInventoryItemCooldown

Get cooldown information for an inventory item.

start, duration, enable = GetInventoryItemCooldown("unit", slotId)

Parameters Edit

Arguments Edit

("unit", slotId)
String - The UnitId of the unit whose inventory is to be queried.
Numeric - The inventory slot to be queried, obtained via GetInventorySlotInfo.

Returns Edit

start, duration, enable
Numeric - The start time of the cooldown period, or 0 if there is no cooldown (or no item in the slot)
Numeric - The duration of the cooldown period (NOT the remaining time). 0 if the item has no use/cooldown or the slot is empty.
Numeric - Returns 1 or 0. 1 if the inventory item is capable of having a cooldown, 0 if not.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki