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

#include <QueryPackets.h>

Public Member Functions

 QueryItemTextResponse ()
 
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 Id
 
bool Valid = false
 
ItemTextCache Item
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Query::QueryItemTextResponse::QueryItemTextResponse ( )
inline
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1396

Member Function Documentation

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

Implements WorldPackets::Packet.

484 {
486  _worldPacket << Id;
487  _worldPacket << Item;
488 
489  return &_worldPacket;
490 }
WorldPacket _worldPacket
Definition: Packet.h:43
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170
ObjectGuid Id
Definition: QueryPackets.h:445
ItemTextCache Item
Definition: QueryPackets.h:447
bool Valid
Definition: QueryPackets.h:446

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

ObjectGuid WorldPackets::Query::QueryItemTextResponse::Id
ItemTextCache WorldPackets::Query::QueryItemTextResponse::Item
bool WorldPackets::Query::QueryItemTextResponse::Valid = false

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