v0.13.7

C_TooltipInfo.GetUnitAura

functionguessedavailable in: camelot

Returns the tooltip data of an aura on the unit. · description by wowlua

signaturewowlua
function C_TooltipInfo.GetUnitAura(    unitToken: UnitTokenRestrictedForAddOns,    index: number,    filter: AuraFilters?): TooltipData?

Parameters

nametypedescription
unitTokenUnitTokenRestrictedForAddOns
indexnumberThe aura's index among the unit's auras that match filter.
filterAuraFilters?Which auras to count, such as HELPFUL or HARMFUL.

Returns

data · TooltipData?

Blizzard's documentation says it may return nothing.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

Restrictions

  • Requires unit aura access.

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.