View Single Post
01-07-23, 09:18 AM   #6
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,953
This one looks interesting but might be for a specific use
https://wowpedia.fandom.com/wiki/API...ValidForPlayer

And this one sounds useful and might be what you need
https://wowpedia.fandom.com/wiki/API...cToPlayerClass

This function is used on Weekly Rewards by Blizzard
https://github.com/Gethe/wow-ui-sour...wards.lua#L347


Might be easier than building a database of data up .. but if you have already done that keep this for your next code overhaul
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote