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

#include <MailPackets.h>

Public Member Functions

 MailTakeItem (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 Mailbox
 
int32 MailID = 0
 
int32 AttachID = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Mail::MailTakeItem::MailTakeItem ( WorldPacket &&  packet)
inline
186 : ClientPacket(CMSG_MAIL_TAKE_ITEM, std::move(packet)) { }
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62
Definition: Opcodes.h:404

Member Function Documentation

void WorldPackets::Mail::MailTakeItem::Read ( )
overridevirtual

Implements WorldPackets::Packet.

217 {
219  _worldPacket >> MailID;
221 }
WorldPacket _worldPacket
Definition: Packet.h:43
int32 AttachID
Definition: MailPackets.h:192
ObjectGuid Mailbox
Definition: MailPackets.h:190
int32 MailID
Definition: MailPackets.h:191

Member Data Documentation

int32 WorldPackets::Mail::MailTakeItem::AttachID = 0
ObjectGuid WorldPackets::Mail::MailTakeItem::Mailbox
int32 WorldPackets::Mail::MailTakeItem::MailID = 0

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