[7672] Move ReceiveEmote from script API to AI API. Author: VladimirMangos

This is also fix triggering ReceiveEmote for EventAI broken at it move to core.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-15 17:29:33 -05:00
parent bf7b203e86
commit c5310844db
8 changed files with 15 additions and 31 deletions
+4
View File
@@ -27,6 +27,7 @@
#include "Dynamic/ObjectRegistry.h"
#include "Dynamic/FactoryHolder.h"
class WorldObject;
class Unit;
class Creature;
class Player;
@@ -167,6 +168,9 @@ class TRINITY_DLL_SPEC CreatureAI : public UnitAI
void DoZoneInCombat(Unit* pUnit = NULL);
// Called at text emote receive from player
virtual void ReceiveEmote(Player* pPlayer, uint32 text_emote) {}
///== Triggered Actions Requested ==================
// Called when creature attack expected (if creature can and no have current victim)