#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]
180{
182 {
183 Player* player = iter->GetSource();
184
185
188
189
192 }
193}
void CreatureUnitRelocationWorker(Creature *c, Unit *u)
Definition: GridNotifiers.cpp:148
@ NOTIFY_AI_RELOCATION
Definition: Object.h:67
@ NOTIFY_VISIBILITY_CHANGED
Definition: Object.h:68
Definition: LinkedList.h:139
bool IsMoveInLineOfSightStrictlyDisabled()
Definition: Creature.h:277
bool isNeedNotify(uint16 f) const
Definition: Object.h:573
Definition: Player.h:1081
void UpdateVisibilityOf(WorldObject *target)
Definition: PlayerUpdates.cpp:1671
WorldObject * m_seer
Definition: Player.h:2334
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 |