Contents
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. |