From 1ebf1a5ba40d9292a084910119d26441963bedb3 Mon Sep 17 00:00:00 2001 From: Splash Date: Tue, 14 Apr 2009 01:01:19 +0400 Subject: [PATCH] [7665] Include achievement data to pdumps. Signed-off-by: VladimirMangos --- src/game/PlayerDump.cpp | 42 +++++++++++++++++++++------------------- src/game/PlayerDump.h | 8 ++++---- src/shared/revision_nr.h | 2 +- 3 files changed, 27 insertions(+), 25 deletions(-) diff --git a/src/game/PlayerDump.cpp b/src/game/PlayerDump.cpp index 7712ec0f5..8f75e6427 100644 --- a/src/game/PlayerDump.cpp +++ b/src/game/PlayerDump.cpp @@ -24,7 +24,7 @@ #include "ObjectMgr.h" // Character Dump tables -#define DUMP_TABLE_COUNT 19 +#define DUMP_TABLE_COUNT 21 struct DumpTable { @@ -34,25 +34,27 @@ struct DumpTable static DumpTable dumpTables[DUMP_TABLE_COUNT] = { - { "characters", DTT_CHARACTER }, - { "character_queststatus", DTT_CHAR_TABLE }, - { "character_reputation", DTT_CHAR_TABLE }, - { "character_spell", DTT_CHAR_TABLE }, - { "character_spell_cooldown", DTT_CHAR_TABLE }, - { "character_action", DTT_CHAR_TABLE }, - { "character_aura", DTT_CHAR_TABLE }, - { "character_homebind", DTT_CHAR_TABLE }, - { "character_ticket", DTT_CHAR_TABLE }, - { "character_inventory", DTT_INVENTORY }, - { "mail", DTT_MAIL }, - { "mail_items", DTT_MAIL_ITEM }, - { "item_instance", DTT_ITEM }, - { "character_gifts", DTT_ITEM_GIFT }, - { "item_text", DTT_ITEM_TEXT }, - { "character_pet", DTT_PET }, - { "pet_aura", DTT_PET_TABLE }, - { "pet_spell", DTT_PET_TABLE }, - { "pet_spell_cooldown", DTT_PET_TABLE }, + { "characters", DTT_CHARACTER }, + { "character_achievement", DTT_CHAR_TABLE }, + { "character_achievement_progress", DTT_CHAR_TABLE }, + { "character_queststatus", DTT_CHAR_TABLE }, + { "character_reputation", DTT_CHAR_TABLE }, + { "character_spell", DTT_CHAR_TABLE }, + { "character_spell_cooldown", DTT_CHAR_TABLE }, + { "character_action", DTT_CHAR_TABLE }, + { "character_aura", DTT_CHAR_TABLE }, + { "character_homebind", DTT_CHAR_TABLE }, + { "character_ticket", DTT_CHAR_TABLE }, + { "character_inventory", DTT_INVENTORY }, + { "mail", DTT_MAIL }, + { "mail_items", DTT_MAIL_ITEM }, + { "item_instance", DTT_ITEM }, + { "character_gifts", DTT_ITEM_GIFT }, + { "item_text", DTT_ITEM_TEXT }, + { "character_pet", DTT_PET }, + { "pet_aura", DTT_PET_TABLE }, + { "pet_spell", DTT_PET_TABLE }, + { "pet_spell_cooldown", DTT_PET_TABLE }, }; // Low level functions diff --git a/src/game/PlayerDump.h b/src/game/PlayerDump.h index d3258bb95..90fd2ac0e 100644 --- a/src/game/PlayerDump.h +++ b/src/game/PlayerDump.h @@ -27,10 +27,10 @@ enum DumpTableType { DTT_CHARACTER, // // characters - DTT_CHAR_TABLE, // // character_action, character_aura, character_homebind, - // character_queststatus, character_reputation, - // character_spell, character_spell_cooldown, character_ticket, - // character_tutorial + DTT_CHAR_TABLE, // // character_achievement, character_achievement_progress, + // character_action, character_aura, character_homebind, + // character_queststatus, character_reputation, character_spell, + // character_spell_cooldown, character_ticket, character_tutorial DTT_INVENTORY, // -> item guids collection // character_inventory diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 9c5780282..947026152 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7664" + #define REVISION_NR "7665" #endif // __REVISION_NR_H__