C_UnitAuras. GetUnitAuraInstanceIDs
functionguessedavailable in: camelot
Returns the instance IDs of the unit's auras that pass the filter. · description by wowlua
function C_UnitAuras.GetUnitAuraInstanceIDs( unit: UnitTokenRestrictedForAddOns, filter: AuraFilters, maxCount: number?, sortRule: UnitAuraSortRule, sortDirection: UnitAuraSortDirection): number[]Parameters
| name | type | description |
|---|---|---|
unit | UnitTokenRestrictedForAddOns | |
filter | AuraFilters | Aura filter, such as "HELPFUL" or "HARMFUL|PLAYER". |
maxCount | number? | Most auras to return. |
sortRule | UnitAuraSortRule | How to sort the auras. Default: "Unsorted". |
sortDirection | UnitAuraSortDirection | Which 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.