aboutsummaryrefslogtreecommitdiff
path: root/src/game/CreatureAIImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/CreatureAIImpl.h')
-rw-r--r--src/game/CreatureAIImpl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/CreatureAIImpl.h b/src/game/CreatureAIImpl.h
index 7edebb709fd..f404f0d954f 100644
--- a/src/game/CreatureAIImpl.h
+++ b/src/game/CreatureAIImpl.h
@@ -81,6 +81,8 @@ class EventMap : private std::map<uint32, uint32>
public:
explicit EventMap() : m_phase(0), m_time(0) {}
+ uint32 GetTimer() const { return m_time; }
+
void Reset() { clear(); m_time = 0; m_phase = 0; }
void Update(uint32 time) { m_time += time; }
@@ -171,5 +173,7 @@ struct AISpellInfoType
uint32 cooldown;
};
+TRINITY_DLL_SPEC AISpellInfoType * GetAISpellInfo(uint32 i);
+
#endif