View Single Post
06-06-22, 05:23 PM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
If you're wanting to count socket colors, this'll require a ton of server requests using socket query calls. Alternatively, if you want the gems themselves, you could parse the gem fields of the ItemLink. Note, the ItemLink format may differ between retail and classic as many fields don't apply to both versions. Keep this in mind when reading API documentation and be sure to double-check with your own testing.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote