Returns the gems socketed in an item in the player's bags. The IDs returned refer to the gems themselves (not the enchantments they provide), and thus can be passed to
GetItemInfo() to get a gem's name, quality, icon, etc.
See also Container functions.
container- The index of the container (
slot- The slot within the given container; slots are numbered left-to-right, top-to-bottom, starting with the leftmost slot on the top row (
gem1- Item ID of the first gem socketed in the item (
gem2- Item ID of the second gem socketed in the item (
gem3- Item ID of the third gem socketed in the item (