WoW API: GetNumSpellTabs

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetNumSpellTabs to API GetNumSpellTabs without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetNumSpellTabs


Retrieves the total number of tabs in the user's spellbook.

totalSpellTabs = GetNumSpellTabs();

Arguments
None

Returns
totalSpellTabs - Integer

Example
  local totalSpellTabs = GetNumSpellTabs();
  message(totalSpellTabs);
  
Result
Displays error message with the total number of spell tabs in the player's spellbook.