Skip to content

GetSpellAlert

StormFX edited this page Dec 13, 2022 · 1 revision

Contents

The GetSpellAlert method of Masque's API returns the texture paths associated with the given shape.

Example

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

-- Get the texture paths.
local glow, ants = Masque:GetSpellAlert("Shape")

Signature

"Glow", "Ants" = {Masque}:GetSpellAlert("Shape")

Parameters

Parameter Type Required Description
Shape string Yes The name of the shape to retrieve the textures for.

Returns

Return Type Description
Glow string The path to the Glow texture.
Ants string The path to the Ants texture.

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