aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-14 18:27:02 -0500
committermegamage <none@none>2009-04-14 18:27:02 -0500
commit9ec70b5e72413290e73d5a0b3d462150aa8cb93c (patch)
tree46eba52085e4fd18f46db72120830e8d0d1afdfb
parent07f48aa934141209285e56c848c1094ed6d35978 (diff)
[7665] Include achievement data to pdumps. Author: Splash
--HG-- branch : trunk
-rw-r--r--src/game/PlayerDump.cpp41
-rw-r--r--src/game/PlayerDump.h8
2 files changed, 26 insertions, 23 deletions
diff --git a/src/game/PlayerDump.cpp b/src/game/PlayerDump.cpp
index fea5666c9e0..f8f4a0f9f8a 100644
--- a/src/game/PlayerDump.cpp
+++ b/src/game/PlayerDump.cpp
@@ -26,7 +26,7 @@
#include "ObjectMgr.h"
// Character Dump tables
-#define DUMP_TABLE_COUNT 18
+#define DUMP_TABLE_COUNT 20
struct DumpTable
{
@@ -36,24 +36,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_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 01f97718267..e3dfd192efb 100644
--- a/src/game/PlayerDump.h
+++ b/src/game/PlayerDump.h
@@ -29,10 +29,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