-
-
Notifications
You must be signed in to change notification settings - Fork 11
GetSpellAlert
StormFX edited this page Dec 13, 2022
·
1 revision
The GetSpellAlert
method of Masque's API returns the texture paths associated with the given shape.
-- Establish a reference to Masque.
local Masque = LibStub("Masque", true)
-- Get the texture paths.
local glow, ants = Masque:GetSpellAlert("Shape")
"Glow", "Ants" = {Masque}:GetSpellAlert("Shape")
Parameter | Type | Required | Description |
---|---|---|---|
Shape |
string | Yes | The name of the shape to retrieve the textures for. |
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