Returns information about the gem types usable in a socket. Only returns valid information when the Item Socketing UI is open (i.e. between the SOCKET_INFO_UPDATE and SOCKET_INFO_CLOSE events).


See also Socketing functions.

Signature:

gemColor = GetSocketTypes(index)

Arguments:

Returns:

  • gemColor - Type of the gem socket (string)
    • Blue - Accepts any gem, but requires a blue, green, purple or prismatic gem to activate the item's socket bonus
    • Meta - Accepts only meta gems
    • Red - Accepts any gem, but requires a red, purple, orange or prismatic gem to activate the item's socket bonus
    • Socket - Accepts any gem
    • Yellow - Accepts any gem, but requires a yellow, orange, green or prismatic gem to activate the item's socket bonus