C_Spell. GetSpellIDForSpellIdentifier
functionimplementedavailable in: camelot
Returns the spell ID for a given SpellIdentifier.
function C_Spell.GetSpellIDForSpellIdentifier( spellIdentifier: SpellIdentifier): number?Parameters
| name | type | description |
|---|---|---|
spellIdentifier | SpellIdentifier | Using name will always check for an override on that spell; If passed a spell ID, will return same id as was passed |
Returns
spellID · number?
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) (Spell system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.