API GetSpellTabInfo

Retrieves information about the specified line of spells name, texture, offset, numEntries, isGuild, offspecID = GetSpellTabInfo(tabIndex)

Arguments

 * tabIndex : Number - The index of the tab, ascending from 1.

Returns

 * name : String - The name of the spell line (General, Shadow, Fury, etc.)
 * texture : String - The texture path for the spell line's icon
 * offset : Number - Number of spell book entries before this tab (one less than index of the first spell book item in this tab)
 * numEntries : Number - The number of spell entries in this tab.
 * isGuild : Boolean - true for Guild Perks, false otherwise
 * offspecID : Number - 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.

Details

 * 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.