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

C_SpellBook.GetSpellBookItemSkillLineIndex

documented function · SpellBook
C_SpellBook.GetSpellBookItemSkillLineIndex(spellBookItemSlotIndex, spellBookItemSpellBank) : skillLineIndex

Get the index of the SkillLine this SpellBookItem is part of

──ARGUMENTS
spellBookItemSlotIndex
luaIndex
spellBookItemSpellBank
SpellBookSpellBank
──RETURNS
skillLineIndex
luaIndex, optional (Will be nil if the specified SpellBookItem doesn't exist or isn't part of a SkillLine)
──DETAILS
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

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