WoW:API UnitRace: Difference between revisions

Added detailed English race names, and Allied Races, too.
(Sign removed)
(Added detailed English race names, and Allied Races, too.)
Line 14: Line 14:




:;race : The localized race of the specified unit as a string.  e.g. Tauren, Orc etc.
;race : The localized race of the specified unit as a string.  e.g. Tauren, Orc etc.
:;raceEn : The race in english as a string. e.g Tauren, Orc etc.  
:;raceEn : The race in english as a string. Possible returns are: "Human", "NightElf", "Dwarf", "Gnome", "Draenei", "Worgen", "Orc", "Troll", "Scourge", "Tauren", "BloodElf", "Goblin", "Pandaren". As of Patch 7.3.5, Allied Races return: "VoidElf", "LightforgedDraenei", "HighmountainTauren" and "Nightborne".  
:(Note for undead:  race returns "Undead" but raceEn returns "Scourge")
:(Note for undead:  race returns "Undead" but raceEn returns "Scourge")


Anonymous user