v0.13.8

C_ActionBar.GetActionCharges

functionimplementedavailable in: camelot

Returns the charges of the action in the slot. · description by wowlua

signaturewowlua
function C_ActionBar.GetActionCharges(    actionID: number): SpellChargeInfo

Parameters

nametypedescription
actionIDnumberThe action slot.

Returns

chargeInfo · SpellChargeInfo

SpellChargeInfo
fieldtypedescription
currentChargesnumberNumber of charges currently available
maxChargesnumberMax number of charges that can be accumulated
cooldownStartTimenumberIf charge cooldown is active, time at which the most recent charge cooldown began; 0 if cooldown is not active
cooldownDurationnumberCooldown duration in seconds required to generate a charge
chargeModRatenumberRate at which cooldown UI should update
isActivebooleanFalse if recharging is not active (ex: at maximum available charges, start time or duration are zero); True otherwise

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

  • Requires valid action slot.

sources

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