C_SpellBook.GetNumSpellBookSkillLines

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

Returns the number of tabs in the spellbook.

numTabs = C_SpellBook.GetNumSpellBookSkillLines()

Returns

numTabs
number - number of ability tabs in the player's spellbook (e.g. 4 -- "General", "Arcane", "Fire", "Frost")

Details

  • Each of the player's professions also gets a spellbook tab, but these tabs are not included in the count returned by this function.

Patch changes

The War Within Patch 11.0.0 (Beta): Added, replacement for GetNumSpellTabs.