v0.13.8

C_TooltipInfo.GetSpellByID

functionimplementedavailable in: camelot

Returns the tooltip data of a spell. · description by wowlua

signaturewowlua
function C_TooltipInfo.GetSpellByID(    spellID: SpellIdentifier,    isPet: boolean?,    showSubtext: boolean?,    dontOverride: boolean?,    difficultyID: number?,    isLink: boolean?): TooltipData?

Parameters

nametypedescription
spellIDSpellIdentifierThe spell's ID or name.
isPetboolean?Describe the spell as a pet's.
showSubtextboolean?Include the spell's subtext.
dontOverrideboolean?Describe the spell itself, not the spell that overrides it.
difficultyIDnumber?The difficulty to describe the spell for.
isLinkboolean?

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.