#include "GridNotifiers.h"
#include "Map.h"
#include "ObjectAccessor.h"
#include "SpellInfo.h"
#include "SpellMgr.h"
#include "Transport.h"
#include "UpdateData.h"
#include "WorldPacket.h"
Go to the source code of this file.
◆ CreatureUnitRelocationWorker()
void CreatureUnitRelocationWorker |
( |
Creature * |
c, |
|
|
Unit * |
u |
|
) |
| |
|
inline |
151{
153 {
154 return;
155 }
156
158 {
160 {
162 }
164 {
166 }
167 }
168}
@ TYPEID_PLAYER
Definition: ObjectGuid.h:38
@ UNIT_STATE_SIGHTLESS
Definition: Unit.h:367
void TriggerAlert(Unit const *who) const
Definition: CreatureAI.cpp:174
void MoveInLineOfSight_Safe(Unit *who)
== Reactions At =================================
Definition: CreatureAI.cpp:146
CreatureAI * AI() const
Definition: Creature.h:136
TypeID GetTypeId() const
Definition: Object.h:121
bool CanSeeOrDetect(WorldObject const *obj, bool ignoreStealth=false, bool distanceCheck=false, bool checkAlert=false) const
Definition: Object.cpp:1726
bool IsAlive() const
Definition: Unit.h:1822
bool HasStealthAura() const
Definition: Unit.h:1720
bool IsInFlight() const
Definition: Unit.h:1690
bool IsAIEnabled
Definition: Unit.h:2364
bool HasUnitState(const uint32 f) const
Definition: Unit.h:1410
References Creature::AI(), WorldObject::CanSeeOrDetect(), Object::GetTypeId(), Unit::HasStealthAura(), Unit::HasUnitState(), Unit::IsAIEnabled, Unit::IsAlive(), Unit::IsInFlight(), CreatureAI::MoveInLineOfSight_Safe(), CreatureAI::TriggerAlert(), TYPEID_PLAYER, and UNIT_STATE_SIGHTLESS.
Referenced by Acore::AIRelocationNotifier::Visit(), and Acore::CreatureRelocationNotifier::Visit().