API:GetClassInfoByID

GetClassInfoByID(x)
== Arguments ==
:;x - 
:: Number
== Returns ==
:: 1 - Warrior, WARRIOR
:: 2 - Scout, RANGER
:: 3 - Rogue, THIEF
:: 4 - Mage, MAGE
:: 5 - Priest, AUGUR
:: 6 - Knight, KNIGHT
:: 7 - Warden, WARDEN
:: 8 - Druid, DRUID
:: 9 - Champion, PSYRON
:: 10 - Warlock, HARPSYN
The second return value is identical to class tokens
== Example ==
/script DEFAULT_CHAT_FRAME:AddMessage(GetClassInfoByID(1));
Prints Warrior.
Category:Functions