[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
+22 -19
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
{ {
@@ -36,24 +36,27 @@ struct DumpTable
static DumpTable dumpTables[DUMP_TABLE_COUNT] = static DumpTable dumpTables[DUMP_TABLE_COUNT] =
{ {
{ "characters", DTT_CHARACTER }, { "characters", DTT_CHARACTER },
{ "character_queststatus", DTT_CHAR_TABLE }, { "character_achievement", DTT_CHAR_TABLE },
{ "character_reputation", DTT_CHAR_TABLE }, { "character_achievement_progress", DTT_CHAR_TABLE },
{ "character_spell", DTT_CHAR_TABLE }, { "character_queststatus", DTT_CHAR_TABLE },
{ "character_spell_cooldown", DTT_CHAR_TABLE }, { "character_reputation", DTT_CHAR_TABLE },
{ "character_action", DTT_CHAR_TABLE }, { "character_spell", DTT_CHAR_TABLE },
{ "character_aura", DTT_CHAR_TABLE }, { "character_spell_cooldown", DTT_CHAR_TABLE },
{ "character_homebind", DTT_CHAR_TABLE }, { "character_action", DTT_CHAR_TABLE },
{ "character_inventory", DTT_INVENTORY }, { "character_aura", DTT_CHAR_TABLE },
{ "mail", DTT_MAIL }, { "character_homebind", DTT_CHAR_TABLE },
{ "mail_items", DTT_MAIL_ITEM }, // { "character_ticket", DTT_CHAR_TABLE },
{ "item_instance", DTT_ITEM }, { "character_inventory", DTT_INVENTORY },
{ "character_gifts", DTT_ITEM_GIFT }, { "mail", DTT_MAIL },
{ "item_text", DTT_ITEM_TEXT }, { "mail_items", DTT_MAIL_ITEM },
{ "character_pet", DTT_PET }, { "item_instance", DTT_ITEM },
{ "pet_aura", DTT_PET_TABLE }, { "character_gifts", DTT_ITEM_GIFT },
{ "pet_spell", DTT_PET_TABLE }, { "item_text", DTT_ITEM_TEXT },
{ "pet_spell_cooldown", DTT_PET_TABLE }, { "character_pet", DTT_PET },
{ "pet_aura", DTT_PET_TABLE },
{ "pet_spell", DTT_PET_TABLE },
{ "pet_spell_cooldown", DTT_PET_TABLE },
}; };
// Low level functions // Low level functions
+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