Quantcast
Count of gem colors (Burning Crusade Classic) - WoWInterface
Thread Tools Display Modes
06-06-22, 09:48 AM   #1
bsmorgan
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 216
Count of gem colors (Burning Crusade Classic)

I'm trying to revive (or find) an addon that counts the number of each color gem in equipped items.

Documentation on the API for finding gem information is hard to find. Can anyone point me in the right direction?
  Reply With Quote
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,103
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

WoWInterface » Classic - AddOns, Compliations, Macros » Classic - AddOn Help/Support » Count of gem colors (Burning Crusade Classic)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off