C_SpellBook.GetSpellBookItemSkillLineIndex

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 11.0.0

Get the index of the SkillLine this SpellBookItem is part of

skillLineIndex = C_SpellBook.GetSpellBookItemSkillLineIndex(spellBookItemSlotIndex, spellBookItemSpellBank)

Arguments

spellBookItemSlotIndex
number
spellBookItemSpellBank
Enum.SpellBookSpellBank
Value Field Description
0 Player
1 Pet

Returns

skillLineIndex
number? - Will be nil if the specified SpellBookItem doesn't exist or isn't part of a SkillLine