v0.13.8

C_ItemSocketInfo

namespaceavailable in: camelot

Status in wowlua

16 functions: 1 implemented, 0 recorded, 15 guessed. 8 events, 1 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
AcceptSocketsApplies the gems placed in the item's sockets. · by wowlua
()
guessed
ClickSocketButtonPlaces the cursor's gem in a socket of the item being socketed. · by wowlua
(index: number)
guessed
CloseSocketInfoCloses the item socketing frame. · by wowlua
()
guessed
CompleteSocketingCompletes socketing an item, binding it to the player.
()
guessed
GetCurrUITypeReturns which kind of socketing frame is open. · by wowlua
(): ItemSocketInfoUIType
guessed
GetExistingSocketInfoReturns the name, icon and match state of the gem already in a socket. · by wowlua
(index: number): (string?, number?, boolean)
guessed
GetExistingSocketLinkReturns the link of the gem already in a socket. · by wowlua
(index: number): string?
guessed
GetNewSocketInfoReturns the name, icon and match state of the gem newly placed in a socket. · by wowlua
(index: number): (string?, number?, boolean)
guessed
GetNewSocketLinkReturns the link of the gem newly placed in a socket. · by wowlua
(index: number): string?
guessed
GetNumSocketsReturns the number of sockets of the item being socketed. · by wowlua
(): number
guessed
GetSocketItemBoundTradeableWhether the item being socketed is bound but still tradeable. · by wowlua
(): boolean
guessed
GetSocketItemInfoReturns the name, icon and quality of the item being socketed. · by wowlua
(): (string?, number?, ItemQuality)
guessed
GetSocketItemRefundableWhether the item being socketed can still be refunded. · by wowlua
(): boolean
guessed
GetSocketTypesReturns the type of a socket, such as its gem color. · by wowlua
(index: number): string?
guessed
HasBoundGemProposedWhether a gem placed in the sockets would become bound. · by wowlua
(): boolean
guessed
IsArtifactRelicItemWhether 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

eventpayloadfired by the emulator
SOCKET_INFO_ACCEPTno payloadnot implemented
SOCKET_INFO_BIND_CONFIRMno payloadnot implemented
SOCKET_INFO_CLOSEno payloadimplemented
SOCKET_INFO_FAILUREno payloadnot implemented
SOCKET_INFO_REFUNDABLE_CONFIRMno payloadnot implemented
SOCKET_INFO_SUCCESSno payloadnot implemented
SOCKET_INFO_UI_EVENT_REGISTRATION_UPDATEuiType: ItemSocketInfoUITypenot implemented
SOCKET_INFO_UPDATEno payloadnot 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?, gemMatchesSocket
  • SocketItemInfo · 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.