C_TooltipInfo. GetSpellByID
functionimplementedavailable in: camelot
Returns the tooltip data of a spell. · description by wowlua
function C_TooltipInfo.GetSpellByID( spellID: SpellIdentifier, isPet: boolean?, showSubtext: boolean?, dontOverride: boolean?, difficultyID: number?, isLink: boolean?): TooltipData?Parameters
| name | type | description |
|---|---|---|
spellID | SpellIdentifier | The spell's ID or name. |
isPet | boolean? | Describe the spell as a pet's. |
showSubtext | boolean? | Include the spell's subtext. |
dontOverride | boolean? | Describe the spell itself, not the spell that overrides it. |
difficultyID | number? | The difficulty to describe the spell for. |
isLink | boolean? |
Returns
data · TooltipData?
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) (TooltipInfo system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.