Core/Players: convert SMSG_SETUP_CURRENCY to packet class and backportet currency handling from master branch

This commit is contained in:
Ovahlord committed 2020-01-05 23:32:23 +01:00
1 parent 61d579601f
commit 2715301823
12 files changed
+195 -97

No files matched your search

+6 -1
View File
@@ -91,7 +91,7 @@ DumpTable const DumpTables[] =
{ "character_achievement_progress", DTT_CHAR_TABLE },
{ "character_action", DTT_CHAR_TABLE },
{ "character_aura", DTT_CHAR_TABLE },
{ "character_currency", DTT_CHAR_TABLE },
{ "character_currency", DTT_CURRENCY },
{ "character_cuf_profiles", DTT_CHAR_TABLE },
{ "character_declinedname", DTT_CHAR_TABLE },
{ "character_equipmentsets", DTT_EQSET_TABLE},
@@ -296,6 +296,11 @@ void PlayerDump::InitializeTables()
MarkDependentColumn(t, "guid", GUID_TYPE_CHAR);
break;
case DTT_CURRENCY:
MarkWhereField(t, "CharacterGuid");
MarkDependentColumn(t, "CharacterGuid", GUID_TYPE_CHAR);
break;
case DTT_EQSET_TABLE:
MarkWhereField(t, "guid");