-
-
Notifications
You must be signed in to change notification settings - Fork 10
GetGroupByID
StormFX edited this page Dec 13, 2022
·
1 revision
The GetGroupByID
method of Masque's API returns a reference to a group object. This reference can then be used to interact with Masque's Group API.
-- Establish a reference to Masque.
local Masque, MSQ_Version = LibStub("Masque", true)
-- Return a group object.
local MSQ_Group = Masque:GetGroupByID("StaticID")
{Group} = {Masque}:GetGroupByID("StaticID")
Parameter | Type | Required | Description |
---|---|---|---|
StaticID |
string | Yes | The static string identifier assigned to the group. |
Notes
- This method only works with groups that are assigned a
StaticID
.
Return | Type | Description |
---|---|---|
Group |
table | The group object associated with StaticID . |
10.0.0 100000
- Method added.
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