GetUnitPowerBarInfo
functionimplementedavailable in: camelot
Returns information about the unit's alternate power bar. · description by wowlua
function GetUnitPowerBarInfo( unitToken: string): UnitPowerBarInfo?Parameters
| name | type |
|---|---|
unitToken | string |
Returns
info · UnitPowerBarInfo?
| field | type |
|---|---|
ID | number |
barType | number |
minPower | number |
startInset | number |
endInset | number |
smooth | boolean |
hideFromOthers | boolean |
showOnRaid | boolean |
opaqueSpark | boolean |
opaqueFlash | boolean |
anchorTop | boolean |
forcePercentage | boolean |
sparkUnderFrame | boolean |
flashAtMinPower | boolean |
fractionalCounter | boolean |
animateNumbers | boolean |
attachTooltipToBar | boolean |
Blizzard's documentation says it may return nothing.
In wowlua's emulated client
implementedwowlua models the system behind it. 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.