Wikia

WoWWiki

Watchlist Recent changes

API GetNumSockets

Main Menue



Returns the number of sockets in the item currently in the item socketing window.

Arguments Edit

none

Returns Edit

Sockets
Number - The number of sockets in the item currently in the item socketing window. If the item socketing window is closed, 0.

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.

Pages on WoWWiki

95,750pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
58,025photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki