-
-
Notifications
You must be signed in to change notification settings - Fork 11
AddSkin
StormFX edited this page Dec 13, 2022
·
1 revision
The AddSkin
method of Masque's API adds a skin and its associated information to Masque.
-- Establish a reference to Masque.
local Masque = LibStub("Masque", true)
-- Add a new skin to Masque.
Masque:AddSkin("New Skin", {
-- Skin settings here.
})
{Masque}:AddSkin("SkinID", {SkinData})
Parameter | Type | Required | Description |
---|---|---|---|
SkinID |
string | Yes | The name of the skin. |
SkinData |
table | Yes | A table containing the skin settings for regions. |
Notes
- Any regions omitted from the
SkinData
table will fall back to the settings of the default skin. - Information on skin settings can be found in the region section.
9.0.4 90002
- Removed the
Replace
parameter.
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