v0.13.8

C_UnitAuras.GetUnitAuraInstanceIDs

functionguessedavailable in: camelot

Returns the instance IDs of the unit's auras that pass the filter. · description by wowlua

signaturewowlua
function C_UnitAuras.GetUnitAuraInstanceIDs(    unit: UnitTokenRestrictedForAddOns,    filter: AuraFilters,    maxCount: number?,    sortRule: UnitAuraSortRule,    sortDirection: UnitAuraSortDirection): number[]

Parameters

nametypedescription
unitUnitTokenRestrictedForAddOns
filterAuraFiltersAura filter, such as "HELPFUL" or "HARMFUL|PLAYER".
maxCountnumber?Most auras to return.
sortRuleUnitAuraSortRuleHow to sort the auras. Default: "Unsorted".
sortDirectionUnitAuraSortDirectionWhich way to sort the auras. Default: "Normal".

Returns

auraInstanceIDs · number[]

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) (UnitAuras system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.