Skip to content

Get Aura Data

Game Version Wrapper

Reads aura data by index and unpacks it into the tuple format used by ElvUI unit frame helpers.

NamespaceEModuleCoreLifecyclewrapper
E:GetAuraData(unitToken, index, filter)

Reads aura data by index and unpacks it into the tuple format used by ElvUI unit frame helpers.

  • unitToken: Unit token such as player, target, or party1.
  • index: Aura index.
  • filter: Optional WoW aura filter string.

Unpacked aura tuple from ElvUF, or nil when no aura is found.

local name, icon, count = E:GetAuraData("target", 1, "HELPFUL")

Useful when addon code needs to match ElvUI aura handling without duplicating Blizzard API compatibility logic.

Source: ElvUI/Game/Shared/General/API.lua:528