DB/CharSections: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
==Wrath== | ==Wrath== | ||
===3.0.2.8905=== | ===3.0.2.8905-3.3.5.12340=== | ||
====Table==== | ====Table==== | ||
{| style="background:#FCFCFC; color:black" | {| style="background:#FCFCFC; color:black" | ||
Line 34: | Line 34: | ||
It seems to have been reordered in WotLK. The Type and Variation fields have been in front of the textures before. | It seems to have been reordered in WotLK. The Type and Variation fields have been in front of the textures before. | ||
==Warlords== | ==Warlords== |
Revision as of 13:24, 16 July 2016
This table defines the textures for the different types of character-variations that involve a texture only. These are hair, beards, the base skin etc.
Wrath
3.0.2.8905-3.3.5.12340
Table
Column | Field | Type | Notes |
---|---|---|---|
1 | ID | Integer | |
2 | Race | iRefID | |
3 | Gender | Boolean | Male = 0, female = 1. |
4 | GeneralType | Integer | See below. |
5 | Texture1 | String | |
6 | Texture2 | String | |
7 | Texture3 | String | |
8 | Flags | Integer | See Below |
9 | Type | Integer | |
10 | Variation | Integer | These are the variations / colors of the Type. |
It seems to have been reordered in WotLK. The Type and Variation fields have been in front of the textures before.
Warlords
6.0.1.18179
Struct
struct CharSectionsRec { uint32_t m_ID; uint32_t m_raceID; uint32_t m_sexID; uint32_t m_baseSection; stringrefⁱ m_TextureName[3]; uint32_t m_flags; uint32_t m_variationIndex; uint32_t m_colorIndex; };
Field Descriptions
The meaning of some of the fields change depending on the GeneralType value.
/ | 0 - Base Skin | 1 - Face | 2 - Facial Hair | 3 - Hair | 4 - Underwear |
---|---|---|---|---|---|
Type | - | FaceType | FacialHairType | HairStyle | - |
Color | SkinColor | SkinColor | HairColor | HairColor | SkinColor |
Texture1 | SkinTexture | FaceLowerTexture | FacialLowerTexture | HairTexture | PelvisTexture |
Texture2 | ExtraSkinTexture | FaceUpperTexture | FacialUpperTexture | ScalpLowerTexture | TorsoTexture |
Texture3 | - | - | - | ScalpUpperTexture | - |
For HD textures, add 5 to the GeneralType you want. Note that you may have to default to non-HD for some textures. Eg non-HD has texture1 and texture2. HD only has texture2.
NOTE: Legion introduced more GeneralTypes, 10-15. 11 is Demon Hunter tattoos, others are unk.
Flags
Flag | Description | |
---|---|---|
0x1 | Playable (probably) | |
0x2 | ||
0x4 | Death Knight texture | |
0x8 | NPC skin (e.g. the necromancer human skins with facial marking etc) | |
0x10 |