~/forever/addon-api/table/SpellBookItemInfo
SpellBookItemInfo
documented structure · SpellBook
Structure SpellBookItemInfo──FIELDS
- actionID
- number (Represents a base spellID for spells, flyoutID for flyouts, or petActionID for pet actions)
- spellID
- number, optional (May be nil if item is not a spell; Will be the overriding spellID if spell is overriden, otherwise will match actionID)
- itemType
- SpellBookItemType
- name
- string
- subName
- string (May be empty if flyout, or if spell's data isn't loaded yet; Listen for SPELL_TEXT_UPDATE event, or use SpellMixin to load asynchronously)
- iconID
- fileID
- isPassive
- bool (True if the item is a passive spell; Will always be false if it is not a spell)
- isOffSpec
- bool (True if the item belongs to a non-active specialization)
- skillLineIndex
- luaIndex, optional (Index of the SkillLine this SpellBookItem is part of; Nil this SpellBookItem isn't part of a SkillLine)
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.