C_UnitAuras. GetUnitAuras
functionguessedavailable in: camelot
Returns the unit's auras that pass the filter. · description by wowlua
function C_UnitAuras.GetUnitAuras( unit: UnitTokenRestrictedForAddOns, filter: AuraFilters, maxCount: number?, sortRule: UnitAuraSortRule, sortDirection: UnitAuraSortDirection): AuraData[]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
auras · AuraData[]
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.