WoW API: AcceptSockets

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API AcceptSockets to API AcceptSockets without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < AcceptSockets

Confirms insertion of new gems into the item currently being socketed.

AcceptSockets();

Details

  • The socketing API designates a single item (SocketInventoryItem, SocketContainerItem) to be considered for socketing at a time. While an item is being considered for socketing, players may drop new gems into its sockets (ClickSocketButton). If the user wishes to actually perform the socketing, AcceptSockets() must be called to confirm.
  • There is no dedicated API call to reject a tentative socketing, although you may use CloseSocketInfo() to exit socketing without making any changes to item. You can then select the item for socketing again.

See also