TrinityCore
Loading...
Searching...
No Matches
Trinity::MessageDistDeliverer Struct Reference

#include <GridNotifiers.h>

Public Member Functions

 MessageDistDeliverer (WorldObject const *src, WorldPacket const *msg, float dist, bool own_team_only=false, Player const *skipped=nullptr, bool req3dDist=false)
 
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

WorldObject const * i_source
 
WorldPacket const * i_message
 
uint32 i_phaseMask
 
float i_distSq
 
uint32 team
 
Player const * skipped_receiver
 
bool required3dDist
 

Detailed Description

Definition at line 126 of file GridNotifiers.h.

Constructor & Destructor Documentation

◆ MessageDistDeliverer()

Trinity::MessageDistDeliverer::MessageDistDeliverer ( WorldObject const *  src,
WorldPacket const *  msg,
float  dist,
bool  own_team_only = false,
Player const *  skipped = nullptr,
bool  req3dDist = false 
)
inline

Definition at line 135 of file GridNotifiers.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ SendPacket()

void Trinity::MessageDistDeliverer::SendPacket ( Player player)
inline

Definition at line 151 of file GridNotifiers.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Visit() [1/4]

void MessageDistDeliverer::Visit ( CreatureMapType m)

Definition at line 286 of file GridNotifiers.cpp.

+ Here is the call graph for this function:

◆ Visit() [2/4]

void MessageDistDeliverer::Visit ( DynamicObjectMapType m)

Definition at line 316 of file GridNotifiers.cpp.

+ Here is the call graph for this function:

◆ Visit() [3/4]

template<class SKIP >
void Trinity::MessageDistDeliverer::Visit ( GridRefManager< SKIP > &  )
inline

Definition at line 149 of file GridNotifiers.h.

◆ Visit() [4/4]

void MessageDistDeliverer::Visit ( PlayerMapType m)

Definition at line 253 of file GridNotifiers.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ i_distSq

float Trinity::MessageDistDeliverer::i_distSq

Definition at line 131 of file GridNotifiers.h.

◆ i_message

WorldPacket const* Trinity::MessageDistDeliverer::i_message

Definition at line 129 of file GridNotifiers.h.

◆ i_phaseMask

uint32 Trinity::MessageDistDeliverer::i_phaseMask

Definition at line 130 of file GridNotifiers.h.

◆ i_source

WorldObject const* Trinity::MessageDistDeliverer::i_source

Definition at line 128 of file GridNotifiers.h.

◆ required3dDist

bool Trinity::MessageDistDeliverer::required3dDist

Definition at line 134 of file GridNotifiers.h.

◆ skipped_receiver

Player const* Trinity::MessageDistDeliverer::skipped_receiver

Definition at line 133 of file GridNotifiers.h.

◆ team

uint32 Trinity::MessageDistDeliverer::team

Definition at line 132 of file GridNotifiers.h.


The documentation for this struct was generated from the following files: