Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetNumSockets

Last wiki revision 2022-06-09

Returns the number of sockets for an item in the socketing window.

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

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

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

Source

https://warcraft.wiki.gg/wiki/API_GetNumSockets · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.