Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:World of Warcraft API
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Item Socketing === The following were introduced along with socketed items and gems in 2.0. The 'id' refers to a 1-based index of the sockets in the item being considered for socketing. :{{id|API|AcceptSockets}}() - Sockets tentative gems into the sockets, replacing existing gems if necessary. :{{id|API|ClickSocketButton}}(id) - If the cursor is currently holding a gem, tentatively insert it into the socket. :{{id|API|CloseSocketInfo}}() - Stops considering the item for socketing, without applying changes. :{{id|API|GetSocketItemInfo}}() - Returns information about the item currently being socketed. :{{id|API|GetSocketItemRefundable}}() - Returns whether the item currently being socketed is refundable. :{{id|API|GetSocketItemBoundTradeable}}() - Returns if the item currently being socketed is temporarily tradable (BoP boss loot). :{{id|API|GetNumSockets}}() - Returns the number of sockets in the item currently being socketed. :{{id|API|GetSocketTypes}}(id) - Returns the type (color) of a socket in the item. :{{id|API|GetExistingSocketInfo}}(id) - Returns information about the existing gem in the socket. :{{id|API|GetExistingSocketLink}}(id) - Returns an item link for the existing gem in the socket. :{{id|API|GetNewSocketInfo}}(id) - Returns information about the new (tentative) gem in the socket. :{{id|API|GetNewSocketLink}}(id) - Returns an item link for the new (tentative) gem in the socket. :{{id|API|SocketInventoryItem}}(slot) - Considers the item in the inventory slot for socketing. :{{id|API|SocketContainerItem}}(bag, slot) - Consider an item in a container slot for socketing.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)