DB/GameTables: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 21: Line 21:
  struct GameTablesRec {
  struct GameTablesRec {
   uint8_t padding_0[4];
   uint8_t padding_0[4];
   stringref m_name;
   {{Template:Type|stringref}} m_name;
   uint32_t m_numRows;
   uint32_t m_numRows;
   uint32_t m_numColumns;
   uint32_t m_numColumns;

Revision as of 12:43, 23 February 2016

They list different tables. The real content is in files called gtName.dbc. Not many of them exist in the archives. Far less than in here. As of 3.0.9 the clientside list is:

  • gtBarberShopCostBase
  • gtCombatRatings
  • gtChanceToMeleeCrit
  • gtChanceToMeleeCritBase
  • gtChanceToSpellCrit
  • gtChanceToSpellCritBase
  • gtNPCManaCostScaler
  • gtOCTRegenHP
  • gtOCTRegenMP
  • gtRegenHPPerSpt
  • gtRegenMPPerSpt

Structure

Column	Field 		Type 		Notes 
1 	Name 		String 		how the DBC is called.
2 	numRows 	Integer 	
3 	numColumns 	Integer 	

6.0.1.18179

struct GameTablesRec {
  uint8_t padding_0[4];
  stringref m_name;
  uint32_t m_numRows;
  uint32_t m_numColumns;
};