Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetSpellTabInfo

Last wiki revision 2022-07-29

Returns info for the specified spellbook tab. name, texture, offset, numSlots, isGuild, offspecID = GetSpellTabInfo(tabIndex)

  • tabIndex: - The index of the tab, ascending from 1.
  • name: - The name of the spell line (General, Shadow, Fury, etc.)
  • texture: - The texture path for the spell line's icon
  • offset: - Number of spell book entries before this tab (one less than index of the first spell book item in this tab)
  • numSlots: - The number of spell entries in this tab.
  • isGuild: - true for Guild Perks, false otherwise
  • offspecID: - 0 if the tab contains spells you can cast (general/specialization/trade skill/etc); or specialization ID of the specialization this tab is showing the spells of.
  • returns the number of class-skill tabs available to your character.
  • Due to flyouts, more spellbook item indices may be used by a tab than suggested by the offset/numEntries values.
  • Professions are tabs, too: returns tab indices that contain profession spells, beyond the range specified by.

Source

https://warcraft.wiki.gg/wiki/API_GetSpellTabInfo · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.