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

#include <QueryPackets.h>

Public Member Functions

 QueryGameObject (WorldPacket &&packet)
 
void Read () override
 
- Public Member Functions inherited from WorldPackets::ClientPacket
 ClientPacket (WorldPacket &&packet)
 
 ClientPacket (OpcodeClient expectedOpcode, WorldPacket &&packet)
 
WorldPacket constWrite () overridefinal
 
OpcodeClient 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 Guid
 
uint32 GameObjectID = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Query::QueryGameObject::QueryGameObject ( WorldPacket &&  packet)
inline
219 : ClientPacket(CMSG_QUERY_GAME_OBJECT, std::move(packet)) { }
Definition: Opcodes.h:518
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Query::QueryGameObject::Read ( )
overridevirtual

Implements WorldPackets::Packet.

285 {
287  _worldPacket >> Guid;
288 }
ObjectGuid Guid
Definition: QueryPackets.h:223
WorldPacket _worldPacket
Definition: Packet.h:43
uint32 GameObjectID
Definition: QueryPackets.h:224

Member Data Documentation

uint32 WorldPackets::Query::QueryGameObject::GameObjectID = 0
ObjectGuid WorldPackets::Query::QueryGameObject::Guid

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