Skip to content

GetGroupByID

StormFX edited this page Dec 13, 2022 · 1 revision

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.

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

Clone this wiki locally