C_SpellBook.IsClassTalentSpellBookItem

From Warcraft Wiki
Jump to navigation Jump to search

Returns true if the SpellBookItem comes from a Class Talent

isClassTalent = C_SpellBook.IsClassTalentSpellBookItem(spellBookItemSlotIndex, spellBookItemSpellBank)

Arguments

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

Returns

isClassTalent
boolean