19 #ifndef TRINITYCORE_WORLDPACKET_H
20 #define TRINITYCORE_WORLDPACKET_H
uint32 m_opcode
Definition: WorldPacket.h:85
ByteBuffer & operator=(ByteBuffer const &right)
Definition: ByteBuffer.h:104
Definition: ByteBuffer.h:70
WorldPacket & operator=(WorldPacket const &right)
Definition: WorldPacket.h:45
WorldPacket(WorldPacket const &right)
Definition: WorldPacket.h:41
WorldPacket(uint32 opcode, size_t res=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: WorldPacket.h:34
uint32 GetOpcode() const
Definition: WorldPacket.h:79
std::vector< uint8 > _storage
Definition: ByteBuffer.h:707
WorldPacket & operator=(WorldPacket &&right)
Definition: WorldPacket.h:57
WorldPacket()
Definition: WorldPacket.h:30
WorldPacket(uint32 opcode, MessageBuffer &&buffer, ConnectionType connection)
Definition: WorldPacket.h:69
uint32_t uint32
Definition: Define.h:150
WorldPacket(WorldPacket &&packet)
Definition: WorldPacket.h:37
ConnectionType _connection
Definition: WorldPacket.h:86
ConnectionType GetConnection() const
Definition: WorldPacket.h:82
void Initialize(uint32 opcode, size_t newres=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: WorldPacket.h:71
void clear()
Definition: ByteBuffer.h:134
Definition: WorldPacket.h:26
void SetOpcode(uint32 opcode)
Definition: WorldPacket.h:80
Definition: MessageBuffer.h:24
ConnectionType
Definition: Opcodes.h:29