DB/CharComponentTextureSections: Difference between revisions
Jump to navigation
Jump to search
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
Contains the coordinates within the character skinning texture for each component. | __TOC__ | ||
Contains the coordinates within the character skinning texture for each component. and their sizes. | |||
= | {{Template:Sandbox/VersionRange|min_expansionlevel=5}} | ||
==???== | |||
===Table=== | |||
{| style="background:#FCFCFC; color:black" | {| style="background:#FCFCFC; color:black" | ||
|- | |- | ||
Line 14: | Line 18: | ||
| 2 || [[CharComponentTextureLayouts.dbc|Layout]] || iRefID || | | 2 || [[CharComponentTextureLayouts.dbc|Layout]] || iRefID || | ||
|- style="background:#F0F8FF;" | |- style="background:#F0F8FF;" | ||
| 3 || | | 3 || Section || Integer || See below. | ||
|- | |- | ||
| 4 || X || Integer || | | 4 || X || Integer || | ||
Line 26: | Line 30: | ||
|} | |} | ||
===enum | ===enum TEXTURE_SECTION=== | ||
TEXTURE_SECTION_ARMS_UPPER = 0, | |||
TEXTURE_SECTION_ARMS_LOWER, | |||
TEXTURE_SECTION_HANDS, | |||
TEXTURE_SECTION_TORSO_UPPER, | |||
TEXTURE_SECTION_TORSO_LOWER, | |||
TEXTURE_SECTION_LEGS_UPPER, | |||
TEXTURE_SECTION_LEGS_LOWER, | |||
TEXTURE_SECTION_FEET, | |||
TEXTURE_SECTION_ACCESSORY, // Only used in Layout 2 (1024x512) | |||
TEXTURE_SECTION_SCALP_UPPER, | |||
TEXTURE_SECTION_SCALP_LOWER | |||
==Warlords== | |||
===6.0.1.18179=== | |||
====Struct==== | |||
struct CharComponentTextureSectionsRec { | |||
uint32_t m_ID; | |||
uint32_t m_charComponentTextureLayoutID; | |||
uint32_t m_sectionType; | |||
uint32_t m_x; | |||
uint32_t m_y; | |||
uint32_t m_width; | |||
uint32_t m_height; | |||
}; | |||
==8.0.1.25902== | |||
struct CharComponentTextureSectionsRec { | |||
// uint32_t m_ID; | |||
int32_t Unk1; // has values for sectionType 12 an 13 (255 and 1791 respectively), and those sections are used for tattoos so far | |||
uint16_t m_x; | |||
uint16_t m_y; | |||
uint16_t m_width; | |||
uint16_t m_height; | |||
uint8_t m_charComponentTextureLayoutID; | |||
uint8_t m_sectionType; | |||
}; | |||
[[Category:DBC]] | [[Category:DBC]] | ||
[[Category: | [[Category:DBC_WoD]][[Category:6.0.1.18179]] | ||
[[Category: |
Latest revision as of 00:32, 4 February 2018
Contains the coordinates within the character skinning texture for each component. and their sizes.
???
Table
Column | Field | Type | Notes |
---|---|---|---|
1 | ID | Integer | |
2 | Layout | iRefID | |
3 | Section | Integer | See below. |
4 | X | Integer | |
5 | Y | Integer | |
6 | Width | Integer | |
7 | Height | Integer |
enum TEXTURE_SECTION
TEXTURE_SECTION_ARMS_UPPER = 0, TEXTURE_SECTION_ARMS_LOWER, TEXTURE_SECTION_HANDS, TEXTURE_SECTION_TORSO_UPPER, TEXTURE_SECTION_TORSO_LOWER, TEXTURE_SECTION_LEGS_UPPER, TEXTURE_SECTION_LEGS_LOWER, TEXTURE_SECTION_FEET, TEXTURE_SECTION_ACCESSORY, // Only used in Layout 2 (1024x512) TEXTURE_SECTION_SCALP_UPPER, TEXTURE_SECTION_SCALP_LOWER
Warlords
6.0.1.18179
Struct
struct CharComponentTextureSectionsRec { uint32_t m_ID; uint32_t m_charComponentTextureLayoutID; uint32_t m_sectionType; uint32_t m_x; uint32_t m_y; uint32_t m_width; uint32_t m_height; };
8.0.1.25902
struct CharComponentTextureSectionsRec { // uint32_t m_ID; int32_t Unk1; // has values for sectionType 12 an 13 (255 and 1791 respectively), and those sections are used for tattoos so far uint16_t m_x; uint16_t m_y; uint16_t m_width; uint16_t m_height; uint8_t m_charComponentTextureLayoutID; uint8_t m_sectionType; };