Contents
← WoW API < GetNumSockets
Returns the number of sockets in the item currently in the item socketing window.
Arguments[edit | edit source]
- none
Returns[edit | edit source]
- 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 | edit source]
local SocketCount = GetNumSockets() for i = 1, SocketCount do print(GetSocketInfo(i)) end
Details[edit | edit source]
This function is only useful if the item socketing window is currently visible.
Community content is available under CC-BY-SA unless otherwise noted.