DB/CharStartOutfit: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 29: Line 29:
|53  || InventoryType[24]  || Integer[]  || Values from -1 to 26.
|53  || InventoryType[24]  || Integer[]  || Values from -1 to 26.
|}
|}
--[[User:Schlumpf|schlumpf_]] 20:15, 29 September 2008 (CEST)


==6.0.1.18179==
==6.0.1.18179==

Revision as of 01:00, 23 February 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!

Update to 3.2.0.10192 -- chuanhsing

Structure

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.

6.0.1.18179

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;
};