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

C_SpellBook.GetSpellBookItemType

documented function · SpellBook
C_SpellBook.GetSpellBookItemType(spellBookItemSlotIndex, spellBookItemSpellBank) : itemType, actionID, spellID
──ARGUMENTS
spellBookItemSlotIndex
luaIndex
spellBookItemSpellBank
SpellBookSpellBank
──RETURNS
itemType
SpellBookItemType
actionID
number (Represents a base spellID for spells, flyoutID for flyouts, or petActionID for pet actions)
spellID
number, optional (May be nil if item is not a spell; Will be the overriding spellID if spell is overriden, otherwise will match actionID)
──DETAILS
May Return Nothing
true
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

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