WoW:API GetSpellTabInfo

From AddOn Studio
Revision as of 22:52, 31 December 2004 by WoWWiki>Lorrick
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
TGetSpellTabInfo -Documentation by Lorrick-

Returns information about the specified spellbook tab.

GetSpellTabInfo({spellbookTabNum});

Arguments
( spellbookTabNum )
spellbookTab
Integer - Spellbook tab to retrieve information for. Valid values are 1 through MAX_SKILLLINE_TABS(8).

Returns
Not too familiar with LUA terminology yet so bear with me. Returns 4 values that I could tell.
Spellbook Tab Name
Spellbook Tab Texture
Spellbook Tab Offset
Number of spells for this tab.

Example
name, texture, offset, numSpells = GetSpellTabInfo(1);
Result

Description
Retreive information for specified spellbook tab.

Template:WoW API