#include "GridNotifiers.h"
◆ CreatureRelocationNotifier()
Acore::CreatureRelocationNotifier::CreatureRelocationNotifier |
( |
Creature & |
c | ) |
|
|
inline |
Creature & i_creature
Definition: GridNotifiers.h:84
◆ Visit() [1/2]
template<class T >
void Acore::CreatureRelocationNotifier::Visit |
( |
GridRefMgr< T > & |
| ) |
|
|
inline |
◆ Visit() [2/2]
181{
183 {
184 Player* player = iter->GetSource();
185
186
189
190
193 }
194}
void CreatureUnitRelocationWorker(Creature *c, Unit *u)
Definition: GridNotifiers.cpp:149
@ NOTIFY_AI_RELOCATION
Definition: Object.h:66
@ NOTIFY_VISIBILITY_CHANGED
Definition: Object.h:67
Definition: LinkedList.h:139
bool IsMoveInLineOfSightStrictlyDisabled()
Definition: Creature.h:278
bool isNeedNotify(uint16 f) const
Definition: Object.h:568
Definition: Player.h:1064
void UpdateVisibilityOf(WorldObject *target)
Definition: PlayerUpdates.cpp:1667
WorldObject * m_seer
Definition: Player.h:2314
iterator begin()
Definition: GridRefMgr.h:35
iterator end()
Definition: GridRefMgr.h:36
References GridRefMgr< OBJECT >::begin(), CreatureUnitRelocationWorker(), GridRefMgr< OBJECT >::end(), i_creature, Creature::IsMoveInLineOfSightStrictlyDisabled(), WorldObject::isNeedNotify(), Player::m_seer, NOTIFY_AI_RELOCATION, NOTIFY_VISIBILITY_CHANGED, and Player::UpdateVisibilityOf().
◆ i_creature
Creature& Acore::CreatureRelocationNotifier::i_creature |