v0.13.8

C_TooltipInfo.GetUnitBuff

functionguessedavailable in: camelot

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

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

Parameters

nametypedescription
unitTokenUnitTokenRestrictedForAddOns
indexnumberThe aura's index among the unit's helpful auras that match filter.
filterAuraFilters?Further filters for the auras to count.

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.