WoW API: GetGlyphSocketInfo

From AddOn Studio
Revision as of 08:35, 28 November 2008 by WoWWiki>Crepusculu (New page: {{wowapi}} __NOTOC__ Return information about a glpyh unlocked, glyphType, glyphID, icon = GetGlyphSocketInfo(SocketID); == Parameters == === Arguments === :;SocketID : Numeric - The soc...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetGlyphSocketInfo

Return information about a glyph

unlocked, glyphType, glyphID, icon = GetGlyphSocketInfo(SocketID);

Parameters

Arguments

SocketID
Numeric - The socket index.

Returns

unlocked
Flag - 1 if the glyph is accessible. nil if the socket is locked
glyphType
Numeric - 1 for major glyph. 2 for minor glyph
glyphID
Numeric - Unique ID. nil if the socket has no glyph
icon
String - icon file directory. nil if the socket has no glyph