[7665] Include achievement data to pdumps. Author: Splash

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-14 18:27:02 -05:00
parent 07f48aa934
commit 9ec70b5e72
2 changed files with 26 additions and 23 deletions
+4 -1
View File
@@ -26,7 +26,7 @@
#include "ObjectMgr.h" #include "ObjectMgr.h"
// Character Dump tables // Character Dump tables
#define DUMP_TABLE_COUNT 18 #define DUMP_TABLE_COUNT 20
struct DumpTable struct DumpTable
{ {
@@ -37,6 +37,8 @@ struct DumpTable
static DumpTable dumpTables[DUMP_TABLE_COUNT] = static DumpTable dumpTables[DUMP_TABLE_COUNT] =
{ {
{ "characters", DTT_CHARACTER }, { "characters", DTT_CHARACTER },
{ "character_achievement", DTT_CHAR_TABLE },
{ "character_achievement_progress", DTT_CHAR_TABLE },
{ "character_queststatus", DTT_CHAR_TABLE }, { "character_queststatus", DTT_CHAR_TABLE },
{ "character_reputation", DTT_CHAR_TABLE }, { "character_reputation", DTT_CHAR_TABLE },
{ "character_spell", DTT_CHAR_TABLE }, { "character_spell", DTT_CHAR_TABLE },
@@ -44,6 +46,7 @@ static DumpTable dumpTables[DUMP_TABLE_COUNT] =
{ "character_action", DTT_CHAR_TABLE }, { "character_action", DTT_CHAR_TABLE },
{ "character_aura", DTT_CHAR_TABLE }, { "character_aura", DTT_CHAR_TABLE },
{ "character_homebind", DTT_CHAR_TABLE }, { "character_homebind", DTT_CHAR_TABLE },
// { "character_ticket", DTT_CHAR_TABLE },
{ "character_inventory", DTT_INVENTORY }, { "character_inventory", DTT_INVENTORY },
{ "mail", DTT_MAIL }, { "mail", DTT_MAIL },
{ "mail_items", DTT_MAIL_ITEM }, { "mail_items", DTT_MAIL_ITEM },
+4 -4
View File
@@ -29,10 +29,10 @@ enum DumpTableType
{ {
DTT_CHARACTER, // // characters DTT_CHARACTER, // // characters
DTT_CHAR_TABLE, // // character_action, character_aura, character_homebind, DTT_CHAR_TABLE, // // character_achievement, character_achievement_progress,
// character_queststatus, character_reputation, // character_action, character_aura, character_homebind,
// character_spell, character_spell_cooldown, character_ticket, // character_queststatus, character_reputation, character_spell,
// character_tutorial // character_spell_cooldown, character_ticket, character_tutorial
DTT_INVENTORY, // -> item guids collection // character_inventory DTT_INVENTORY, // -> item guids collection // character_inventory