DB/CharacterFacialHairStyles

From wowdev
Jump to navigation Jump to search

CharacterFacialHairStyles is used for all the different kind of facial changes you can do on your character. This is not limited to hair styles, as night elf female markings, and troll tusks are included in here. I imagine the last customization feature on the character select screen uses this DBC.

Classic

0.5.3.3368

Struct

struct CharacterFacialHairStylesRec {
  uint32_t m_RaceID;
  uint32_t m_SexID;
  uint32_t m_VariationID;
  uint32_t m_BeardGeoset;
  uint32_t m_MoustacheGeoset;
  uint32_t m_SideburnGeoset;
};

1.12.1.5875

Struct

struct CharacterFacialHairStylesRec {
  uint32_t m_RaceID;
  uint32_t m_SexID;
  uint32_t m_VariationID;
  uint32_t m_BeardGeoset;
  uint32_t m_MoustacheGeoset;
  uint32_t m_SideburnGeoset;
  uint32_t otherGeosets[3];
};

Wrath

3.0.2.8905-3.3.5.12340

Table

Column Field Type Notes
1 ChrRaces iRefID
2 Gender Integer 0 = Male, 1 = Female
3 Variation Integer This ID is unique per gender, per race .
4 Unknown Integer 2.* only.
5 Unknown Integer 2.* only.
6 Unknown Integer 2.* only.
4 Geoset_1 Integer group 1 -- This is the small part of Geoset identificator. Determines mixing of different facial elements, on Night Elves this is chin hair.
5 Geoset_2 Integer group 3 -- ... on Night Elves, this controls eyebrows
6 Geoset_3 Integer group 2 -- ... on Night Elves, this controls mustache
7 Geoset_4 Integer group 16
8 Geoset_5 Integer group 17 -- small\big ears for BloodElves(geo 701,702).

Warlords

6.0.1.18179

Struct

struct CharacterFacialHairStylesRec {
  uint8_t padding_0[4];
  uint32_t m_raceID;
  uint32_t m_sexID;
  uint32_t m_VariationID;
  uint32_t m_Geoset[5]; // 100, 300, 200, 1600, 1700
};

8.0.1.25902

struct CharacterFacialHairStylesRec {
  uint32_t m_ID;
  int32_t m_Geoset[5];
  uint8_t m_raceID;
  uint8_t m_sexID;
  uint8_t m_VariationID;
};