Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
m (trim bullet points)
Tag: WoW API docs
KethoBot (talk | contribs)
m (unit)
Tag: WoW API docs
 
Line 4: Line 4:
   
 
==Arguments==
 
==Arguments==
:;unit : [[UnitId]] - The unit to query.
+
:;unit:{{apitype|string}} : [[UnitId]] - The unit to query.
 
:;auraInstanceID:{{apitype|number}} - The aura instance ID to test.
 
:;auraInstanceID:{{apitype|number}} - The aura instance ID to test.
 
:;filterString:{{apitype|string}} - The aura filter string to test, eg. "HELPFUL" or "HARMFUL".
 
:;filterString:{{apitype|string}} - The aura filter string to test, eg. "HELPFUL" or "HARMFUL".

Latest revision as of 23:29, 7 August 2022

Tests if an aura passes a specific filter.

isFiltered = C_UnitAuras.IsAuraFilteredOutByInstanceID(unit, auraInstanceID, filterString)

Arguments

unit
string : UnitId - The unit to query.
auraInstanceID
number - The aura instance ID to test.
filterString
string - The aura filter string to test, eg. "HELPFUL" or "HARMFUL".

Returns

isFiltered
boolean - true if the aura passes the specified filter, or false if not.

Patch changes

Dragonflight Patch 10.0.0 (2022-10-25): Added.