>wowhelm_
~/forever/addon-api/function/C_SpellBook.GetSpellBookItemCooldown

C_SpellBook.GetSpellBookItemCooldown

documented function · SpellBook
C_SpellBook.GetSpellBookItemCooldown(spellBookItemSlotIndex, spellBookItemSpellBank) : spellCooldownInfo

Returns nil if item doesn't exist or if this kind of item doesn't display cooldowns (ex: future or offspec spells)

──ARGUMENTS
spellBookItemSlotIndex
luaIndex
spellBookItemSpellBank
SpellBookSpellBank
──RETURNS
spellCooldownInfo
SpellCooldownInfo
──DETAILS
May Return Nothing
true
Secret When Cooldowns Restricted
true
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.