C_SpellBook. GetSpellBookItemName
functionimplementedavailable in: camelot
Returns the name of a spellbook item.
function C_SpellBook.GetSpellBookItemName( spellBookItemSlotIndex: number, spellBookItemSpellBank: SpellBookSpellBank): (string?, string?)Parameters
| name | type | description |
|---|---|---|
spellBookItemSlotIndex | number | Spellbook slot index, ranging from 1 through the total number of spells across all tabs and pages |
spellBookItemSpellBank | SpellBookSpellBank |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | name | string? | Name of the spell as it appears in the spell book, e.g. *"Lesser Heal"* |
| 2 | subName | string? | May be empty if spell's data isn't loaded yet; Listen for SPELL_TEXT_UPDATE event, or use SpellMixin to load asynchronously |
Blizzard's documentation says it may return nothing.
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (SpellBook system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.