DB/BarberShopStyle

From wowdev
Revision as of 16:56, 2 July 2016 by Chase (talk | contribs)
Jump to navigation Jump to search

This file got added with Wrath of the Lich King. It defines which option in the barber shop is responsible for which style. They have a name and fields defining what will change.

8905/12340

Column Field Type Notes
1 ID Integer
2 Type Integer 0 - Hair Style, 1 - Hair Color, 2 - Facial Hairstyle, 3 - Fur Color, 4 - Face
3 Name Loc A name to describe what changes or how it is called.
20 AdditionalName Loc Is null for all in this build.
37 CostModifier Float 0.75 for facials, 1.0 for hair.
38 Race iRefID
39 Gender Integer
40 ID2 / hair_id Integer This is option $ID2 in the shop when looking in category $Type. OR "real ID to hair/facial hair"

6.0.1.18179

struct BarberShopStyleRec {
  uint32_t m_ID;
  uint32_t m_type;
  stringref m_DisplayName_lang;
  stringref m_Description_lang;
  float m_Cost_Modifier;
  foreign_key<uint32_t, &ChrRacesRec::m_ID> m_race;
  uint32_t m_sex;
  uint32_t m_data;
};