TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::Party::MinimapPing Class Referencefinal

#include <PartyPackets.h>

Public Member Functions

 MinimapPing ()
 
WorldPacket constWrite () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
 
void Read () overridefinal
 
void Clear ()
 
WorldPacket && Move ()
 
OpcodeServer GetOpcode () const
 
- Public Member Functions inherited from WorldPackets::Packet
 Packet (WorldPacket &&worldPacket)
 
virtual ~Packet ()=default
 
 Packet (Packet const &right)=delete
 
Packetoperator= (Packet const &right)=delete
 
WorldPacket constGetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

ObjectGuid Sender
 
float PositionX = 0.f
 
float PositionY = 0.f
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Party::MinimapPing::MinimapPing ( )
inline
Definition: Opcodes.h:1218
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49

Member Function Documentation

WorldPacket const * WorldPackets::Party::MinimapPing::Write ( )
overridevirtual

Implements WorldPackets::Packet.

212 {
213  _worldPacket << Sender;
216 
217  return &_worldPacket;
218 }
WorldPacket _worldPacket
Definition: Packet.h:43
ObjectGuid Sender
Definition: PartyPackets.h:292
float PositionX
Definition: PartyPackets.h:293
float PositionY
Definition: PartyPackets.h:294

+ Here is the caller graph for this function:

Member Data Documentation

float WorldPackets::Party::MinimapPing::PositionX = 0.f
float WorldPackets::Party::MinimapPing::PositionY = 0.f
ObjectGuid WorldPackets::Party::MinimapPing::Sender

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