C_CreatureInfo.GetRaceInfo

From Warcraft Wiki
Jump to navigation Jump to search

Returns both localized and locale-independent race names.

raceInfo = C_CreatureInfo.GetRaceInfo(raceID)

Arguments

raceID
number

Returns

raceInfo
structure - RaceInfo (nilable)
Field Type Description
raceName string localized name, e.g. "Night Elf"
clientFileString string non-localized name, e.g. "NightElf"
raceID number

Patch changes

Battle for Azeroth Patch 8.0.1 (2018-07-17): Added.