DB/CharStartOutfit: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
__TOC__
Information about the items the characters get when they enter the world the first time. The server seems to have the same database since there are non-viewable items listed too (bindstones, food).
Information about the items the characters get when they enter the world the first time. The server seems to have the same database since there are non-viewable items listed too (bindstones, food).


Note: These fields do not have the standard ''4 byte blocks''. race, class, gender and outfit id are bytes!
Note: These fields do not have the standard ''4 byte blocks''. race, class, gender and outfit id are bytes!


Update to 3.2.0.10192 -- chuanhsing
==Classic==
 
===0.5.3.3368===
==0.5.3.3368==
====Struct====
  struct CharStartOutfitRec {
  struct CharStartOutfitRec {
   uint32_t m_ID;
   uint32_t m_ID;
Line 16: Line 17:
   uint32_t m_InventoryType[12];
   uint32_t m_InventoryType[12];
  };
  };
==Structure==
 
==Wrath==
===3.0.8.8905===
====Table====
{| style="background:#FCFCFC; color:black"
{| style="background:#FCFCFC; color:black"
|-  
|-  
Line 41: Line 45:
|}
|}


==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  ||
|- style="background:#F0F8FF;"
|2.1  || [[ChrRaces.dbc|Race]]  || iRefID  || (byte)
|- style="background:#F0F8FF;"
|2.2  || [[ChrClasses.dbc|Class]]  || iRefID  || (byte)
|-  style="background:#F0F8FF;"
|2.3  || Gender  || byte  || male, female
|-  style="background:#F0F8FF;"
|2.4  || outfit id  || byte  ||
|-
|3  || Items[24]  || Integer[]  || These reference item IDs (see wowhead or the itemcache). -1 or 0 if none. Actually ignored by the client.
|-
|28  || DisplayInfo[24]  || Integer[]  || Both only set if Item[x] is set too.
|-
|53  || InventoryType[24]  || Integer[]  || Values from -1 to 26.
|}
 
==Warlords==
===6.0.1.18179===
====Struct====
  struct CharStartOutfitRec {
  struct CharStartOutfitRec {
   uint32_t m_ID;
   uint32_t m_ID;
Line 54: Line 86:
   uint32_t m_petFamilyID;
   uint32_t m_petFamilyID;
  };
  };
[[Category:DBC]][[Category:3.0.2.8905]][[Category:DBC_WotLK]]
 
[[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 02:21, 14 July 2016

Information about the items the characters get when they enter the world the first time. The server seems to have the same database since there are non-viewable items listed too (bindstones, food).

Note: These fields do not have the standard 4 byte blocks. race, class, gender and outfit id are bytes!

Classic

0.5.3.3368

Struct

struct CharStartOutfitRec {
  uint32_t m_ID;
  uint8_t m_raceID;
  uint8_t m_classID;
  uint8_t m_sexID;
  uint8_t m_outfitID;
  uint32_t m_ItemID[12];
  uint32_t m_DisplayItemID[12];
  uint32_t m_InventoryType[12];
};

Wrath

3.0.8.8905

Table

Column Field Type Notes
1 ID Integer
2.1 Race iRefID (byte)
2.2 Class iRefID (byte)
2.3 Gender byte male, female
2.4 outfit id byte
3 Items[24] Integer[] These reference item IDs (see wowhead or the itemcache). -1 or 0 if none. Actually ignored by the client.
28 DisplayInfo[24] Integer[] Both only set if Item[x] is set too.
53 InventoryType[24] Integer[] Values from -1 to 26.

3.3.5.12340

Table

Column Field Type Notes
1 ID Integer
2.1 Race iRefID (byte)
2.2 Class iRefID (byte)
2.3 Gender byte male, female
2.4 outfit id byte
3 Items[24] Integer[] These reference item IDs (see wowhead or the itemcache). -1 or 0 if none. Actually ignored by the client.
28 DisplayInfo[24] Integer[] Both only set if Item[x] is set too.
53 InventoryType[24] Integer[] Values from -1 to 26.

Warlords

6.0.1.18179

Struct

struct CharStartOutfitRec {
  uint32_t m_ID;
  uint8_t m_raceID;
  uint8_t m_classID;
  uint8_t m_sexID;
  uint8_t m_outfitID;
  uint32_t m_ItemID[24];
  uint32_t m_DisplayItemID[24];
  uint32_t m_InventoryType[24];
  uint32_t m_petDisplayID;
  uint32_t m_petFamilyID;
};