aboutsummaryrefslogtreecommitdiff
path: root/src/game/UnitAI.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/UnitAI.h')
-rw-r--r--src/game/UnitAI.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/UnitAI.h b/src/game/UnitAI.h
index 3e6ce4f4a6f..784a453e970 100644
--- a/src/game/UnitAI.h
+++ b/src/game/UnitAI.h
@@ -57,7 +57,8 @@ class TRINITY_DLL_SPEC UnitAI
// Pass parameters between AI
virtual void DoAction(const int32 param = 0) {}
- virtual void SetGUID(const uint64 &guid, const int32 param = 0) {}
+ virtual void SetGUID(const uint64 &guid, int32 id = 0) {}
+ virtual uint64 GetGUID(int32 id = 0) { return 0; }
Unit* SelectTarget(SelectAggroTarget target, uint32 position = 0, float dist = 0, bool playerOnly = false, int32 aura = 0);
void SelectTargetList(std::list<Unit*> &targetList, uint32 num, SelectAggroTarget target, float dist = 0, bool playerOnly = false, int32 aura = 0);