Gets cooldown information about a bag item in BagFrameTab1-6 (Backpack I-VI).
local maxCD, CurrentCD = GetBagItemCooldown ( bagIndex );
Parameters[ | ]
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:
local maxCD, CurrentCD = GetBagItemCooldown(1);