v0.13.8

UnitPowerBarTimerInfo

functionguessedavailable in: camelot

Returns information about a timer on the unit's alternate power bar. · description by wowlua

signaturewowlua
function UnitPowerBarTimerInfo(    unit: string,    index: number): (number?, number?, number?, number?)

Parameters

nametypedescription
unitstring
indexnumberThe timer's position, from 1 to UnitNumPowerBarTimers(unit). Default: 0.

Returns

#nametype
1durationnumber?
2expirationnumber?
3barIDnumber?
4auraIDnumber?

Blizzard's documentation says it may return nothing.

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

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Unit system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.