Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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
GLYPHTYPE_MAJOR
orGLYPHTYPE_MINOR
. - 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[]
Patch 7.0.3 (2016-07-19): Removed.
Patch 5.0.4 (2012-08-28): Added isInspect
and inspectUnit
arguments.
Patch 4.0.6 (2011-02-08): Added glyphID
return value.
Patch 4.0.3 (2010-11-16): Added glyphTooltipIndex
return value before glyphSpellID
.
Patch 3.1.0 (2009-04-14): Added talentGroup
argument.
Patch 3.0.2 (2008-10-14): Added.
Classic[]
Patch 3.4.0 (2022-08-30): Added.