v0.13.8

C_UnitAuras.GetAuraDataBySlot

functionimplementedavailable in: camelot

Returns information about an aura on a unit by a given slot index.

signaturewowlua
function C_UnitAuras.GetAuraDataBySlot(    unit: UnitTokenRestrictedForAddOns,    slot: number): AuraData?

Parameters

nametypedescription
unitUnitTokenRestrictedForAddOns
slotnumberA slot index obtained from the variable returns of UnitAuraSlots.

Returns

aura · AuraData? · Structured information about the found aura, if any.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

  • Requires unit aura access.

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (UnitAuras system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.