DB/BarberShopStyle: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
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. | 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 | ==Wrath== | ||
===3.0.2.8905=== | |||
====Table==== | |||
{| style="background:#FCFCFC; color:black" | {| style="background:#FCFCFC; color:black" | ||
|- | |- | ||
Line 28: | Line 30: | ||
Type 3 is only registered for "Furry" races (Tauren, Worgen, Pandaren) but you cannot change the Fur in Barber Shop | Type 3 is only registered for "Furry" races (Tauren, Worgen, Pandaren) but you cannot change the Fur in Barber Shop | ||
==6.0.1.18179== | ===3.3.5.12340=== | ||
====Table==== | |||
{| style="background:#FCFCFC; color:black" | |||
|- | |||
! width="80" | Column | |||
! width="180 " | Field | |||
! width="80" | Type | |||
! width="600" | Notes | |||
|- | |||
|1 || ID || Integer || | |||
|- | |||
|2 || Type || Integer || 0 - Hair Style, 1 - Hair Color, 2 - Facial Hairstyle, 3 - Unknown, 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. | |||
|- style="background:#F0F8FF;" | |||
|38 || [[ChrRaces.dbc|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" | |||
|} | |||
==Warlords== | |||
===6.0.1.18179=== | |||
====Struct==== | |||
struct BarberShopStyleRec { | struct BarberShopStyleRec { | ||
uint32_t m_ID; | uint32_t m_ID; | ||
Line 40: | Line 70: | ||
}; | }; | ||
[[Category:DBC]][[Category:3.0.2.8905]][[Category:3.3.5.12340 | [[Category:DBC]] | ||
[[Category:DBC_WotLK]][[Category:3.0.2.8905]][[Category:3.3.5.12340]] | |||
[[Category:DBC_WoD]][[Category:6.0.1.18179]] | [[Category:DBC_WoD]][[Category:6.0.1.18179]] |
Revision as of 20:08, 13 July 2016
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.
Wrath
3.0.2.8905
Table
Column | Field | Type | Notes |
---|---|---|---|
1 | ID | Integer | |
2 | Type | Integer | 0 - Hair Style, 1 - Hair Color, 2 - Facial Hairstyle, 3 - Unknown, 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" |
Type 3 is only registered for "Furry" races (Tauren, Worgen, Pandaren) but you cannot change the Fur in Barber Shop
3.3.5.12340
Table
Column | Field | Type | Notes |
---|---|---|---|
1 | ID | Integer | |
2 | Type | Integer | 0 - Hair Style, 1 - Hair Color, 2 - Facial Hairstyle, 3 - Unknown, 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" |
Warlords
6.0.1.18179
Struct
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; };