fix(Core/Unit): Implement GetDisplayRace() (#17609)

This commit is contained in:
Ludwig
2023-11-08 19:19:38 +01:00
committed by GitHub
parent e18bfae91c
commit ef09d4b63f
3 changed files with 41 additions and 0 deletions

View File

@@ -105,6 +105,33 @@ enum Races
#define RACEMASK_HORDE RACEMASK_ALL_PLAYABLE & ~RACEMASK_ALLIANCE
// DisplayRace values from CreatureDisplayInfoExtra.dbc
enum class DisplayRace : uint8
{
None = 0,
Human = 1,
Orc = 2,
Dwarf = 3,
NightElf = 4,
Undead = 5,
Tauren = 6,
Gnome = 7,
Troll = 8,
Goblin = 9,
BloodElf = 10,
Draenei = 11,
FelOrc = 12,
Naga = 13,
Broken = 14,
Skeleton = 15,
Vrykul = 16,
Tuskarr = 17,
ForestTroll = 18,
Taunka = 19,
NorthrendSkeleton = 20,
IceTroll = 21
};
// Class value is index in ChrClasses.dbc
// EnumUtils: DESCRIBE THIS
enum Classes