DB/CharComponentTextureSections: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
__TOC__
Contains the coordinates within the character skinning texture for each component. and their sizes.
Contains the coordinates within the character skinning texture for each component. and their sizes.


== Structure ==
==???==
 
===Table===
{| style="background:#FCFCFC; color:black"
{| style="background:#FCFCFC; color:black"
|-  
|-  
Line 39: Line 40:
     TEXTURE_SECTION_SCALP_LOWER   
     TEXTURE_SECTION_SCALP_LOWER   


==6.0.1.18179==
==Warlords==
===6.0.1.18179===
====Struct====
  struct CharComponentTextureSectionsRec {
  struct CharComponentTextureSectionsRec {
   uint32_t m_ID;
   uint32_t m_ID;
Line 51: Line 54:


[[Category:DBC]]
[[Category:DBC]]
[[Category:DBC_Cataclysm]]
[[Category:DBC_MoP]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

Revision as of 20:34, 13 July 2016

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_UNK8,                  // 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;
};