Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the number of sockets for an item in the 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.