![]() |
TrinityCore
|
#include <GridNotifiers.h>
Public Member Functions | |
| MessageDistDelivererToHostile (Unit *src, WorldPacket const *msg, float dist) | |
| void | Visit (PlayerMapType &m) |
| void | Visit (CreatureMapType &m) |
| void | Visit (DynamicObjectMapType &m) |
| template<class SKIP > | |
| void | Visit (GridRefManager< SKIP > &) |
| void | SendPacket (Player *player) |
Public Attributes | |
| Unit * | i_source |
| WorldPacket const * | i_message |
| uint32 | i_phaseMask |
| float | i_distSq |
Definition at line 164 of file GridNotifiers.h.
|
inline |
Definition at line 171 of file GridNotifiers.h.
|
inline |
Definition at line 181 of file GridNotifiers.h.
References Player::HaveAtClient(), WorldObject::IsFriendlyTo(), and Player::SendDirectMessage().
| void MessageDistDelivererToHostile::Visit | ( | CreatureMapType & | m | ) |
Definition at line 370 of file GridNotifiers.cpp.
References GridRefManager< OBJECT >::begin(), GridRefManager< OBJECT >::end(), Position::GetExactDist2dSq(), Unit::GetSharedVisionList(), Unit::HasSharedVision(), i_distSq, i_phaseMask, i_source, WorldObject::InSamePhase(), and SendPacket().
| void MessageDistDelivererToHostile::Visit | ( | DynamicObjectMapType & | m | ) |
Definition at line 392 of file GridNotifiers.cpp.
References GridRefManager< OBJECT >::begin(), GridRefManager< OBJECT >::end(), DynamicObject::GetCaster(), Position::GetExactDist2dSq(), i_distSq, i_phaseMask, i_source, WorldObject::InSamePhase(), Player::m_seer, SendPacket(), and Object::ToPlayer().
|
inline |
Definition at line 179 of file GridNotifiers.h.
| void MessageDistDelivererToHostile::Visit | ( | PlayerMapType & | m | ) |
Definition at line 345 of file GridNotifiers.cpp.
References GridRefManager< OBJECT >::begin(), GridRefManager< OBJECT >::end(), Position::GetExactDist2dSq(), Unit::GetSharedVisionList(), Unit::GetVehicle(), Unit::HasSharedVision(), i_distSq, i_phaseMask, i_source, WorldObject::InSamePhase(), Player::m_seer, and SendPacket().
| float Trinity::MessageDistDelivererToHostile::i_distSq |
Definition at line 169 of file GridNotifiers.h.
| WorldPacket const* Trinity::MessageDistDelivererToHostile::i_message |
Definition at line 167 of file GridNotifiers.h.
| uint32 Trinity::MessageDistDelivererToHostile::i_phaseMask |
Definition at line 168 of file GridNotifiers.h.
| Unit* Trinity::MessageDistDelivererToHostile::i_source |
Definition at line 166 of file GridNotifiers.h.