GetGlyphSocketInfo

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 3.0.2

Returns information on a glyph socket.

enabled, glyphType, glyphSpellID, iconFile = GetGlyphSocketInfo(socketID[, talentGroup])

Arguments

socketID
number - The socket index to query, ranging from 1 through NUM_GLYPH_SLOTS.
talentGroup
number? - The talent specialization group to query. Defaults to 1.

Returns

enabled
boolean - True if the socket has a glyph inserted.
glyphType
number - The type of glyph accepted by this socket. Either 1 Major, 2 Minor, or 3 Prime,
glyphIndex
number - The sockets index for the glyph type's. Either 0, 1, 2.
glyphSpellID
number? - The spell ID of the socketed glyph.
iconFile
number? - FileID - The file ID of the sigil icon associated with the socketed glyph.

Patch changes

Retail

Legion Patch 7.0.3 (2016-07-19): Removed.
Mists of Pandaria Patch 5.0.4 (2012-08-28): Added isInspect and inspectUnit arguments.
Cataclysm Patch 4.0.6 (2011-02-08): Added glyphID return value.
Cataclysm Patch 4.0.3 (2010-11-16): Added glyphTooltipIndex return value before glyphSpellID.
Wrath-Logo-Small.png Patch 3.1.0 (2009-04-14): Added talentGroup argument.
Wrath-Logo-Small.png Patch 3.0.2 (2008-10-14): Added.

Classic

Wrath-Logo-Small.png Patch 3.4.0 (2022-08-30): Added.