v0.13.8

Cooldown

widget type46 methodsavailable in: camelot

CreateFrame("Cooldown", …) makes one. It has every method of Frame, plus 46 of its own.

Inherits from

  1. Cooldown · 46
  2. Frame · 126
  3. Region · 16
  4. ScriptRegion · 55
  5. ScriptRegionResizing · 13
  6. AnimatableObject · 3
  7. Object · 5
  8. FrameScriptObject · 21

The number is each type's own documented methods. A Cooldown has all of them.

Methods

In the emulator: 26 implemented, 20 guessed.

methodwhat it doesstatus
ClearClears the cooldown. · by wowlua
()
guessed
GetCooldownDisplayDurationThe returned duration unit is milliseconds, unaffected by modRate. · warcraft.wiki.gg ↗
(): number
guessed
GetCooldownDurationReturns the duration of the cooldown currently displayed by the Cooldown widget. · warcraft.wiki.gg ↗
(): number
guessed
GetCooldownTimesReturns the cooldown's start time and duration in milliseconds. · by wowlua
(): (number, number)
guessed
GetCountdownAbbrevThresholdReturns the threshold below which cooldown numbers are displayed as an abbreviated form without a unit suffix (eg. '1:31'). · warcraft.wiki.gg ↗
(): Seconds
guessed
GetCountdownFontStringReturns the font string that shows the countdown numbers. · by wowlua
(): FontString
guessed
GetCountdownFormatterReturns the formatter that turns the remaining time into the countdown text, or nil if none is set. · by wowlua
(): NumericFormatter?
guessed
GetCountdownMillisecondsThresholdReturns the threshold below which cooldown numbers are displayed as a decimal value with one place for milliseconds (eg. '8.7'). · warcraft.wiki.gg ↗
(): Seconds
guessed
GetDrawBlingWhether the cooldown shows a flash when it finishes. · by wowlua
(): boolean
guessed
GetDrawEdgeWhether the cooldown draws a bright edge on the swipe. · by wowlua
(): boolean
guessed
GetDrawSwipeWhether the cooldown draws its swipe. · by wowlua
(): boolean
guessed
GetEdgeScaleReturns the scale of the cooldown's edge. · by wowlua
(): number
guessed
GetHideCountdownNumbersWhether the cooldown hides its countdown numbers. · by wowlua
(): boolean
guessed
GetMinimumCountdownDurationReturns the shortest cooldown for which countdown numbers are shown. · by wowlua
(): Milliseconds
guessed
GetReverseWhether the cooldown's swipe runs in reverse. · by wowlua
(): boolean
guessed
GetRotationReturns how many radians the cooldown is rotated clockwise. · warcraft.wiki.gg ↗
(): number
guessed
GetUseAuraDisplayTimeWhether the cooldown shows its time the way auras do. · by wowlua
(): boolean
guessed
IsPausedReturn whether the cooldown is currently paused. · warcraft.wiki.gg ↗
(): boolean
implemented
PausePause the cooldown widget. · warcraft.wiki.gg ↗
()
guessed
ResumeResumes the cooldown widget after being paused · warcraft.wiki.gg ↗
()
guessed
SetBlingTextureAssign a texture for the brief animation after a cooldown finishes. · warcraft.wiki.gg ↗
(texture: FileAsset, colorR: number, colorG: number, colorB: number, colorA: number)
implemented
SetCooldownShows a cooldown animation. · warcraft.wiki.gg ↗
(start: Seconds, duration: Seconds, modRate: number)
implemented
SetCooldownDurationShows a cooldown animation starting from the moment the function is called. · warcraft.wiki.gg ↗
(duration: Seconds, modRate: number)
guessed
SetCooldownFromDurationObjectStarts the cooldown from a duration object. · by wowlua
(duration: LuaDurationObject, clearIfZero: boolean)
implemented
SetCooldownFromExpirationTimeStarts the cooldown from the time it ends and its duration. · by wowlua
(expirationTime: Seconds, duration: Seconds, modRate: number)
implemented
SetCooldownUNIXShows a cooldown animation using UNIX time. · warcraft.wiki.gg ↗
(start: number, duration: number, modRate: number)
implemented
SetCountdownAbbrevThresholdSets the threshold below which cooldown numbers are displayed as an abbreviated form without a unit suffix (eg. '1:31'). · warcraft.wiki.gg ↗
(seconds: Seconds)
implemented
SetCountdownFontSets the font of the countdown numbers. · by wowlua
(fontName: string)
implemented
SetCountdownFormatterSets the formatter that turns the remaining time into the countdown text. Pass nil to clear it. · by wowlua
(formatter: NumericFormatter?)
implemented
SetCountdownMillisecondsThresholdSets the threshold below which cooldown numbers are displayed as a decimal value with one place for milliseconds (eg. '8.7'). · warcraft.wiki.gg ↗
(seconds: Seconds)
implemented
SetDrawBlingControls the rotating animation at the end of a cooldown. · warcraft.wiki.gg ↗
(drawBling: boolean)
implemented
SetDrawEdgeSets whether the cooldown draws a bright edge on the swipe. · by wowlua
(drawEdge: boolean)
implemented
SetDrawSwipeSets whether the cooldown draws its swipe. · by wowlua
(drawSwipe: boolean)
implemented
SetEdgeColorSets the color of the cooldown's edge. · by wowlua
(colorR: number, colorG: number, colorB: number, a: number?)
implemented
SetEdgeScaleSets the scale of the cooldown's edge. · by wowlua
(scale: number)
implemented
SetEdgeTextureSets the texture and color of the cooldown's edge. · by wowlua
(texture: FileAsset, colorR: number, colorG: number, colorB: number, colorA: number)
implemented
SetHideCountdownNumbersSets whether the cooldown hides its countdown numbers. · by wowlua
(hideNumbers: boolean)
implemented
SetMinimumCountdownDurationControls the minimum duration above which countdown text will be shown. This is applied based upon the total duration of the cooldown, not the remaining duration as it ticks down. · warcraft.wiki.gg ↗
(milliseconds: Milliseconds)
implemented
SetPausedPauses or resumes the cooldown. · by wowlua
(paused: boolean)
implemented
SetReverseControls the direction of the cooldown animation. · warcraft.wiki.gg ↗
(reverse: boolean)
implemented
SetRotationRotates the entire cooldown a certain radians clockwise · warcraft.wiki.gg ↗
(rotationRadians: number)
implemented
SetSwipeColorSet the cooldown swipe to be a specific color. · warcraft.wiki.gg ↗
(colorR: number, colorG: number, colorB: number, a: number?)
implemented
SetSwipeTextureAssigns a texture for the swipe of the cooldown. · warcraft.wiki.gg ↗
(texture: FileAsset?, colorR: number, colorG: number, colorB: number, colorA: number)
implemented
SetTexCoordRangeSets the part of the swipe texture the cooldown uses. · by wowlua
(low: Vector2DMixin, high: Vector2DMixin)
implemented
SetUseAuraDisplayTimeAura durations are displayed slightly differently than cooldown durations. Setting this to true will adjust the display logic to stay in sync with aura timers. · warcraft.wiki.gg ↗
(useAuraDisplayTime: boolean)
implemented
SetUseCircularEdgeSet the Cooldown edge to follow a circular pattern instead of a square. · warcraft.wiki.gg ↗
(useCircularEdge: boolean)
implemented

sources

Methods and inheritance: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.