GetSkin - SFX-WoW/Masque GitHub Wiki
The GetSkin
method of Masque's API returns skin data for the specified skin.
-- Establish a reference to Masque.
local Masque = LibStub("Masque", true)
-- Get the "Blizzard Modern" skin.
local Skin = Masque:GetSkin("Blizzard Modern")
{SkinData} = {Masque}:GetSkin("SkinID")
Parameter | Type | Required | Description |
---|---|---|---|
SkinID |
string | Yes | The name of the skin to retrieve. |
Return | Type | Description |
---|---|---|
SkinData |
table | A table containing the skin's region settings. |