Upgraded items and GetItemInfo()
View Single Post
12-07-12, 10:38 PM
Join Date: Mar 2006
If you're using the tooltip scanning method, I'd recommend keeping a cache of items you've previously scanned, so you don't scan them again. Store them in a table with the item links as keys and the levels as values, and then have GetItemUpgradeLevel return the stored value if it exists, or if not, set the value before returning it so it's cached for next time.
Retired author of
too many addons
Message me if you're interested in taking over one of my addons.
message me about addon bugs or programming questions.
View Public Profile
Send a private message to Phanx
Find More Posts by Phanx