aboutsummaryrefslogtreecommitdiff
path: root/src/server/game
diff options
context:
space:
mode:
authorVincent-Michael <vincent_michael@gmx.de>2016-08-28 00:27:16 +0200
committerVincent-Michael <vincent_michael@gmx.de>2016-08-28 00:27:16 +0200
commit07445d9860f29c04edbb7d0caf1a82083b600e1b (patch)
treed9580ea464d5c32dd5f699bb0bd573fc5618602e /src/server/game
parent9f7c26273b96ae54542cf90872fd6c638879f0eb (diff)
Core/DataStores: Implemented TactKey.db2
Diffstat (limited to 'src/server/game')
-rw-r--r--src/server/game/DataStores/DB2Stores.cpp2
-rw-r--r--src/server/game/DataStores/DB2Structure.h8
2 files changed, 10 insertions, 0 deletions
diff --git a/src/server/game/DataStores/DB2Stores.cpp b/src/server/game/DataStores/DB2Stores.cpp
index 506dccd1f23..f9d3b5095d4 100644
--- a/src/server/game/DataStores/DB2Stores.cpp
+++ b/src/server/game/DataStores/DB2Stores.cpp
@@ -208,6 +208,7 @@ DB2Storage<SpellTargetRestrictionsEntry> sSpellTargetRestrictionsStore("S
DB2Storage<SpellTotemsEntry> sSpellTotemsStore("SpellTotems.db2", SpellTotemsMeta::Instance(), HOTFIX_SEL_SPELL_TOTEMS);
DB2Storage<SpellXSpellVisualEntry> sSpellXSpellVisualStore("SpellXSpellVisual.db2", SpellXSpellVisualMeta::Instance(), HOTFIX_SEL_SPELL_X_SPELL_VISUAL);
DB2Storage<SummonPropertiesEntry> sSummonPropertiesStore("SummonProperties.db2", SummonPropertiesMeta::Instance(), HOTFIX_SEL_SUMMON_PROPERTIES);
+DB2Storage<TactKeyEntry> sTactKeyStore("TactKey.db2", TactKeyMeta::Instance(), HOTFIX_SEL_TACT_KEY);
DB2Storage<TalentEntry> sTalentStore("Talent.db2", TalentMeta::Instance(), HOTFIX_SEL_TALENT);
DB2Storage<TaxiNodesEntry> sTaxiNodesStore("TaxiNodes.db2", TaxiNodesMeta::Instance(), HOTFIX_SEL_TAXI_NODES);
DB2Storage<TaxiPathEntry> sTaxiPathStore("TaxiPath.db2", TaxiPathMeta::Instance(), HOTFIX_SEL_TAXI_PATH);
@@ -481,6 +482,7 @@ void DB2Manager::LoadStores(std::string const& dataPath, uint32 defaultLocale)
LOAD_DB2(sSpellTotemsStore);
LOAD_DB2(sSpellXSpellVisualStore);
LOAD_DB2(sSummonPropertiesStore);
+ LOAD_DB2(sTactKeyStore);
LOAD_DB2(sTalentStore);
LOAD_DB2(sTaxiNodesStore);
LOAD_DB2(sTaxiPathStore);
diff --git a/src/server/game/DataStores/DB2Structure.h b/src/server/game/DataStores/DB2Structure.h
index 319d69818f0..39aca717fce 100644
--- a/src/server/game/DataStores/DB2Structure.h
+++ b/src/server/game/DataStores/DB2Structure.h
@@ -2521,6 +2521,14 @@ struct SummonPropertiesEntry
uint32 Flags;
};
+#define TACTKEY_SIZE 16
+
+struct TactKeyEntry
+{
+ uint32 ID;
+ uint8 Key[TACTKEY_SIZE];
+};
+
#define MAX_TALENT_TIERS 7
#define MAX_TALENT_COLUMNS 3