API:GetBagItemCooldown

Gets cooldown information about a bag item in BagFrameTab1-6 (Backpack I-VI).

Arguments

 * bagIndex
 * number - The bag slot of the item to be checked.

Returns

 * maxCD
 * number - The cooldown limit of the selected bag item (this is static), or zero (0).
 * CurrentCD
 * number - The remaining cooldown left of the selected bag item, or zero (0).

Example
Returns the max cooldown and current cooldown of the bag item at the specified index:

Related Functions

 * UseItemByName
 * GetBagCount
 * GetBagItemInfo
 * UseBagItem
 * GetBagItemLink
 * PickupBagItem
 * SplitBagItem