WoW:API GetNumSockets: Difference between revisions
Jump to navigation
Jump to search
(New page) |
m (Move page script moved page API GetNumSockets to WoW:API GetNumSockets without leaving a redirect) |
(No difference)
| |
Latest revision as of 04:46, 15 August 2023
← WoW API < GetNumSockets
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.