19 #ifndef TRINITY_PETAI_H
20 #define TRINITY_PETAI_H
53 bool _isVisible(
Unit*)
const;
54 bool _needToStop(
void);
55 void _stopAttack(
void);
63 Unit* SelectNextTarget(
bool allowAutoSelect)
const;
64 void HandleReturnMovement();
65 void DoAttack(
Unit* target,
bool chase);
66 bool CanAttack(
Unit* target);
67 void ClearCharmInfoFlags();
uint32 m_updateAlliesTimer
Definition: PetAI.h:61
virtual void ReceiveEmote(Player *, uint32)
Definition: CreatureAI.h:153
virtual void AttackedBy(Unit *)
Definition: CreatureAI.h:136
EvadeReason
Definition: CreatureAI.h:85
virtual void UpdateAI(uint32 diff)=0
Definition: Creature.h:467
virtual void OwnerAttacked(Unit *)
Definition: CreatureAI.h:159
void EnterEvadeMode(EvadeReason) override
Definition: PetAI.h:50
GuidSet m_AllySet
Definition: PetAI.h:60
void MoveInLineOfSight_Safe(Unit *)
Definition: PetAI.h:49
virtual void KilledUnit(Unit *)
Definition: CreatureAI.h:120
TimeTracker i_tracker
Definition: PetAI.h:59
Definition: CreatureAI.h:68
uint32_t uint32
Definition: Define.h:150
void MoveInLineOfSight(Unit *) override
Definition: PetAI.h:48
std::set< ObjectGuid > GuidSet
Definition: ObjectGuid.h:332
#define TC_GAME_API
Definition: Define.h:134
Definition: FactoryHolder.h:52
virtual void AttackStart(Unit *)
Definition: UnitAI.cpp:29
virtual void MovementInform(uint32, uint32)
Definition: CreatureAI.h:143
virtual void OwnerAttackedBy(Unit *)
Definition: CreatureAI.h:156