GetSkin - SFX-WoW/Masque GitHub Wiki

Contents

The GetSkin method of Masque's API returns skin data for the specified skin.

Example

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

-- Get the "Blizzard Modern" skin.
local Skin = Masque:GetSkin("Blizzard Modern")

Signature

{SkinData} = {Masque}:GetSkin("SkinID")

Parameters

Parameter Type Required Description
SkinID string Yes The name of the skin to retrieve.

Returns

Return Type Description
SkinData table A table containing the skin's region settings.
⚠️ **GitHub.com Fallback** ⚠️