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

#include <QueryPackets.h>

Public Member Functions

 CorpseLocation ()
 
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 Transport
 
G3D::Vector3 Position
 
int32 ActualMapID = 0
 
int32 MapID = 0
 
bool Valid = false
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Query::CorpseLocation::CorpseLocation ( )
inline
270 : ServerPacket(SMSG_CORPSE_LOCATION, 1 + (5 * 4) + 16) { }
Definition: Opcodes.h:932
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49

Member Function Documentation

WorldPacket const * WorldPackets::Query::CorpseLocation::Write ( )
overridevirtual

Implements WorldPackets::Packet.

329 {
332 
334  _worldPacket << Position.x;
335  _worldPacket << Position.y;
336  _worldPacket << Position.z;
337  _worldPacket << MapID;
339 
340  return &_worldPacket;
341 }
bool Valid
Definition: QueryPackets.h:278
void FlushBits()
Definition: ByteBuffer.h:150
ObjectGuid Transport
Definition: QueryPackets.h:274
WorldPacket _worldPacket
Definition: Packet.h:43
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170
int32 MapID
Definition: QueryPackets.h:277
Definition: Position.h:27
int32 ActualMapID
Definition: QueryPackets.h:276

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

int32 WorldPackets::Query::CorpseLocation::ActualMapID = 0
int32 WorldPackets::Query::CorpseLocation::MapID = 0
G3D::Vector3 WorldPackets::Query::CorpseLocation::Position
ObjectGuid WorldPackets::Query::CorpseLocation::Transport
bool WorldPackets::Query::CorpseLocation::Valid = false

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