#include <GridNotifiers.h>
140 team = player->GetTeam();
uint32 team
Definition: GridNotifiers.h:131
Player * ToPlayer()
Definition: Object.h:191
WorldPacket const * i_message
Definition: GridNotifiers.h:129
WorldObject * i_source
Definition: GridNotifiers.h:128
float i_distSq
Definition: GridNotifiers.h:130
Player const * skipped_receiver
Definition: GridNotifiers.h:132
void Trinity::MessageDistDeliverer::SendPacket |
( |
Player * |
player | ) |
|
|
inline |
154 if (!player->HaveAtClient(
i_source))
uint32 team
Definition: GridNotifiers.h:131
WorldPacket const * i_message
Definition: GridNotifiers.h:129
WorldObject * i_source
Definition: GridNotifiers.h:128
Player session in the World.
Definition: WorldSession.h:882
Player const * skipped_receiver
Definition: GridNotifiers.h:132
267 Player* target = iter->GetSource();
275 if (target->HasSharedVision())
277 SharedVisionList::const_iterator i = target->GetSharedVisionList().begin();
278 for (; i != target->GetSharedVisionList().end(); ++i)
279 if ((*i)->m_seer == target)
283 if (target->m_seer == target || target->GetVehicle())
void SendPacket(Player *player)
Definition: GridNotifiers.h:148
Definition: LinkedList.h:141
iterator begin()
Definition: GridRefManager.h:36
WorldObject * i_source
Definition: GridNotifiers.h:128
float i_distSq
Definition: GridNotifiers.h:130
iterator end()
Definition: GridRefManager.h:37
292 Creature* target = iter->GetSource();
304 if ((*i)->m_seer == target)
float GetExactDist2dSq(float x, float y) const
Definition: Position.h:132
SharedVisionList const & GetSharedVisionList()
Definition: Unit.h:1754
Definition: Creature.h:467
void SendPacket(Player *player)
Definition: GridNotifiers.h:148
Definition: LinkedList.h:141
bool IsInPhase(uint32 phase) const
Definition: Object.h:462
iterator begin()
Definition: GridRefManager.h:36
WorldObject * i_source
Definition: GridNotifiers.h:128
float i_distSq
Definition: GridNotifiers.h:130
iterator end()
Definition: GridRefManager.h:37
bool HasSharedVision() const
Definition: Unit.h:1757
324 Player* player = caster->ToPlayer();
325 if (player && player->m_seer == target)
float GetExactDist2dSq(float x, float y) const
Definition: Position.h:132
Definition: DynamicObject.h:35
void SendPacket(Player *player)
Definition: GridNotifiers.h:148
Definition: LinkedList.h:141
bool IsInPhase(uint32 phase) const
Definition: Object.h:462
iterator begin()
Definition: GridRefManager.h:36
WorldObject * i_source
Definition: GridNotifiers.h:128
float i_distSq
Definition: GridNotifiers.h:130
iterator end()
Definition: GridRefManager.h:37
Unit * GetCaster() const
Definition: DynamicObject.h:54
template<class SKIP >
void Trinity::MessageDistDeliverer::Visit |
( |
GridRefManager< SKIP > & |
| ) |
|
|
inline |
float Trinity::MessageDistDeliverer::i_distSq |
Player const* Trinity::MessageDistDeliverer::skipped_receiver |
uint32 Trinity::MessageDistDeliverer::team |
The documentation for this struct was generated from the following files: