Fandom

WoWWiki

API GetSocketTypes

104,637pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetSocketTypes

Returns the type of one of the sockets in the item currently in the item socketing window.

Arguments Edit

Index
Number - The 1-based index of the socket for which to get information.

Returns Edit

SocketType
String - The type of the socket at position Index. The value could be any of these (apparently unlocalized) strings:
"Red" - Red socket
"Yellow" - Yellow socket
"Blue" - Blue socket
"Meta" - Meta socket
"Socket" - Prismatic socket

Example Edit

local SocketCount = GetNumSockets()
for i = 1, SocketCount do
  print(GetSocketInfo(i))
end

Details Edit

This function is only useful if the item socketing window is currently visible.

Also on Fandom

Random Wiki