WoW:API UnitClass: Difference between revisions

Clarified that englishclass omits spaces.
(Formatting, another example)
(Clarified that englishclass omits spaces.)
Line 16: Line 16:
:;localizedclass : The localized class of the specified unit as a string.  e.g. "Mage", "Warrior", "Guerrier", etc.
:;localizedclass : The localized class of the specified unit as a string.  e.g. "Mage", "Warrior", "Guerrier", etc.


:;englishclass : The fully capitalized english class name, e.g. "MAGE", "WARRIOR", etc.
:;englishclass : The fully capitalized english class name with no spaces, e.g. "MAGE", "WARRIOR", "DEATHKNIGHT", etc.


== Example ==
== Example ==
Anonymous user