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

#include <MailPackets.h>

Public Member Functions

 MailCommandResult ()
 
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

uint32 MailID = 0
 
uint32 Command = 0
 
uint32 ErrorCode = 0
 
uint32 BagResult = 0
 
uint32 AttachID = 0
 
uint32 QtyInInventory = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Mail::MailCommandResult::MailCommandResult ( )
inline
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1211

Member Function Documentation

WorldPacket const * WorldPackets::Mail::MailCommandResult::Write ( )
overridevirtual

Implements WorldPackets::Packet.

192 {
199 
200  return &_worldPacket;
201 }
uint32 MailID
Definition: MailPackets.h:141
uint32 BagResult
Definition: MailPackets.h:144
uint32 QtyInInventory
Definition: MailPackets.h:146
WorldPacket _worldPacket
Definition: Packet.h:43
uint32 ErrorCode
Definition: MailPackets.h:143
uint32 Command
Definition: MailPackets.h:142
uint32 AttachID
Definition: MailPackets.h:145
uint32_t uint32
Definition: g3dmath.h:168

Member Data Documentation

uint32 WorldPackets::Mail::MailCommandResult::AttachID = 0
uint32 WorldPackets::Mail::MailCommandResult::BagResult = 0
uint32 WorldPackets::Mail::MailCommandResult::Command = 0
uint32 WorldPackets::Mail::MailCommandResult::ErrorCode = 0
uint32 WorldPackets::Mail::MailCommandResult::MailID = 0
uint32 WorldPackets::Mail::MailCommandResult::QtyInInventory = 0

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