Wikia

WoWWiki

API GetNumSockets

Talk0
98,472pages on
this wiki

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

Arguments

none

Returns

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

Example

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

Details

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

Advertisement | Your ad here

Photos

Add a Photo
61,987photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki