GetGroupByID - SFX-WoW/Masque GitHub Wiki
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.