v0.13.8

C_ActionBar.GetActionLossOfControlCooldownInfo

functionimplementedavailable in: camelot

Returns the loss-of-control lockout on the action in the slot. · description by wowlua

signaturewowlua
function C_ActionBar.GetActionLossOfControlCooldownInfo(    actionID: number): SpellLossOfControlInfo

Parameters

nametypedescription
actionIDnumberThe action slot.

Returns

lossOfControlInfo · SpellLossOfControlInfo

SpellLossOfControlInfo
fieldtypedescription
startTimenumberIf cooldown is active, time started; 0 if no cooldown
durationnumberCooldown duration in seconds if active; 0 if cooldown is inactive
modRatenumberRate at which cooldown UI should update
isActivebooleanFalse if cooldown is not active (startTime or duration are 0); True otherwise
shouldReplaceNormalCooldownbooleanTrue if this cooldown should be displayed in-place of the normal action cooldown (ex: the LoC cooldown expires later than the normal cooldown); False 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.