aboutsummaryrefslogtreecommitdiff
path: root/src/game/ObjectMgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/ObjectMgr.h')
-rw-r--r--src/game/ObjectMgr.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/game/ObjectMgr.h b/src/game/ObjectMgr.h
index e655d122e41..eff1f3812a1 100644
--- a/src/game/ObjectMgr.h
+++ b/src/game/ObjectMgr.h
@@ -99,6 +99,15 @@ extern ScriptMapMap sGameObjectScripts;
extern ScriptMapMap sEventScripts;
extern ScriptMapMap sWaypointScripts;
+struct SpellClickInfo
+{
+ uint32 spellId;
+ uint32 questId;
+ uint8 castFlags;
+};
+
+typedef std::multimap<uint32, SpellClickInfo> SpellClickInfoMap;
+
struct AreaTrigger
{
uint32 access_id;
@@ -569,6 +578,9 @@ class ObjectMgr
void LoadReputationOnKill();
void LoadPointsOfInterest();
+ SpellClickInfoMap mSpellClickInfoMap;
+ void LoadNPCSpellClickSpells();
+
void LoadWeatherZoneChances();
void LoadGameTele();