Returns information about a gem added to a socket. If the given socket contains a new gem (one that has been placed in the UI, but not yet confirmed for permanently socketing into the item), returns information for that gem. If the socket is empty or has a permanently socketed gem but no new gem, returns
See also Socketing functions.
index- Index of a gem socket (between 1 and
name- Name of the gem added to the socket (
texture- Path to an icon texture for the gem added to the socket (
matches- 1 if the gem matches the socket's color; otherwise nil (