WoW API: GetContainerItemCooldown

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk) (Move page script moved page API GetContainerItemCooldown to API GetContainerItemCooldown without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetContainerItemCooldown


Returns cooldown information for an item in your inventory

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


Parameters

Arguments

(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

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