Skip to content

GetSkin

StormFX edited this page Dec 13, 2022 · 1 revision

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.

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