GetGroupByID - SFX-WoW/Masque GitHub Wiki

Contents

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.

Example

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

-- Return a group object.
local MSQ_Group = Masque:GetGroupByID("StaticID")

Signature

{Group} = {Masque}:GetGroupByID("StaticID")

Parameters

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.

Returns

Return Type Description
Group table The group object associated with StaticID.

10.0.0 100000

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