C_ItemSocketInfo
namespaceavailable in: camelotStatus in wowlua
16 functions: 1 implemented, 0 recorded, 15 guessed. 8 events, 1 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
AcceptSockets | Applies the gems placed in the item's sockets. · by wowlua() | guessed |
ClickSocketButton | Places the cursor's gem in a socket of the item being socketed. · by wowlua(index: number) | guessed |
CloseSocketInfo | Closes the item socketing frame. · by wowlua() | guessed |
CompleteSocketing | Completes socketing an item, binding it to the player.() | guessed |
GetCurrUIType | Returns which kind of socketing frame is open. · by wowlua(): ItemSocketInfoUIType | guessed |
GetExistingSocketInfo | Returns the name, icon and match state of the gem already in a socket. · by wowlua(index: number): (string?, number?, boolean) | guessed |
GetExistingSocketLink | Returns the link of the gem already in a socket. · by wowlua(index: number): string? | guessed |
GetNewSocketInfo | Returns the name, icon and match state of the gem newly placed in a socket. · by wowlua(index: number): (string?, number?, boolean) | guessed |
GetNewSocketLink | Returns the link of the gem newly placed in a socket. · by wowlua(index: number): string? | guessed |
GetNumSockets | Returns the number of sockets of the item being socketed. · by wowlua(): number | guessed |
GetSocketItemBoundTradeable | Whether the item being socketed is bound but still tradeable. · by wowlua(): boolean | guessed |
GetSocketItemInfo | Returns the name, icon and quality of the item being socketed. · by wowlua(): (string?, number?, ItemQuality) | guessed |
GetSocketItemRefundable | Whether the item being socketed can still be refunded. · by wowlua(): boolean | guessed |
GetSocketTypes | Returns the type of a socket, such as its gem color. · by wowlua(index: number): string? | guessed |
HasBoundGemProposed | Whether a gem placed in the sockets would become bound. · by wowlua(): boolean | guessed |
IsArtifactRelicItem | Whether the item is an artifact relic. · by wowlua(info: ItemInfo): boolean | implemented |
"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.
Events
| event | payload | fired by the emulator |
|---|---|---|
SOCKET_INFO_ACCEPT | no payload | not implemented |
SOCKET_INFO_BIND_CONFIRM | no payload | not implemented |
SOCKET_INFO_CLOSE | no payload | implemented |
SOCKET_INFO_FAILURE | no payload | not implemented |
SOCKET_INFO_REFUNDABLE_CONFIRM | no payload | not implemented |
SOCKET_INFO_SUCCESS | no payload | not implemented |
SOCKET_INFO_UI_EVENT_REGISTRATION_UPDATE | uiType: ItemSocketInfoUIType | not implemented |
SOCKET_INFO_UPDATE | no payload | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("SOCKET_INFO_ACCEPT").
Structures
SocketInfo· name?, icon?, gemMatchesSocketSocketItemInfo· name?, icon?, quality
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ItemSocketInfo system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.