v0.13.8

GetUnitPowerBarTextureInfoByID

functionguessedavailable in: camelot

Returns a texture of an alternate power bar and its color. · description by wowlua

signaturewowlua
function GetUnitPowerBarTextureInfoByID(    barID: number,    textureIndex: number): (number, number, number, number, number)

Parameters

nametypedescription
barIDnumberThe power bar's ID.
textureIndexnumberWhich of the bar's textures.

Returns

#nametype
1texturenumber
2colorRnumber
3colorGnumber
4colorBnumber
5colorAnumber

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.