GetDefaultSkin - SFX-WoW/Masque GitHub Wiki

Contents

The GetDefaultSkin method of Masque's API returns the name and table of the current default skin.

Example

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

-- Get the default skin.
local SkinID, SkinData = Masque:GetDefaultSkin()

Signature

"SkinID", {SkinData} = {Masque}:GetDefaultSkin()

Returns

Return Type Description
SkinID string The name of the default skin.
SkinData table The table for the default skin.

10.0.2 100002

  • Added the SkinData return.

8.2.5 80200

  • Method added.
⚠️ **GitHub.com Fallback** ⚠️