Fandom

WoWWiki

API GetContainerItemCooldown

104,637pages on
this wiki
Add New Page
Talk0 Share

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.

WoW API < GetContainerItemCooldown


Returns cooldown information for an item in your inventory

startTime, duration, isEnabled = GetContainerItemCooldown(bagID, slot)


Parameters Edit

Arguments Edit

(bagID, slot)
bagID 
number - number of the bag the item is in, 0 is your backpack, 1-4 are the four additional bags
slot 
number - slot number of the bag item you want the info for.

Returns Edit

startTime, duration, isEnabled
start 
the time the cooldown period began
duration 
the duration of the cooldown period
enabled 
1 if the item has a cooldown, 0 otherwise

Also on Fandom

Random Wiki