Skip to content

UpdateCharge

StormFX edited this page Dec 13, 2022 · 1 revision

Contents

The UpdateCharge method of Masque's API tells Masque to reapply skin settings to a charge cooldown.

Example

-- Establish a reference to Masque.
local Masque = LibStub("Masque", true)

-- Update the charge cooldown.
Masque:UpdateCharge(Button)

Signature

{Masque}:UpdateCharge({Button})

Parameters

Parameter Type Required Description
Button table Yes The button object whose charge cooldown needs to be updated.

Wiki
  • Home

Project
  • Contributors
  • History

Reference
  ⚬ Masque API
     • API_VERSION
     • AddSkin
     • AddSpellAlert
     • AddType
     • GetBackdrop
     • GetDefaultSkin
     • GetGloss
     • GetGroupByID
     • GetNormal
     • GetShadow
     • GetSlotIcon
     • GetSkin
     • GetSkins
     • GetSpellAlert
     • Group
     • Register
     • SetEmpty
     • UpdateCharge
     • UpdateSpellAlert
  ⚬ Group API
  ⚬ Regions

Skins
  • Skin List

Mirrors
  • CurseForge
  • Wago.io
  • Wow Interface

Clone this wiki locally