C_ActionBar. GetActionLossOfControlCooldownInfo
functionimplementedavailable in: camelot
Returns the loss-of-control lockout on the action in the slot. · description by wowlua
function C_ActionBar.GetActionLossOfControlCooldownInfo( actionID: number): SpellLossOfControlInfoParameters
| name | type | description |
|---|---|---|
actionID | number | The action slot. |
Returns
lossOfControlInfo · SpellLossOfControlInfo
| field | type | description |
|---|---|---|
startTime | number | If cooldown is active, time started; 0 if no cooldown |
duration | number | Cooldown duration in seconds if active; 0 if cooldown is inactive |
modRate | number | Rate at which cooldown UI should update |
isActive | boolean | False if cooldown is not active (startTime or duration are 0); True otherwise |
shouldReplaceNormalCooldown | boolean | True 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.