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

#include <MailPackets.h>

Public Member Functions

 NotifyRecievedMail ()
 
WorldPacket constWrite () override
 

Public Attributes

float Delay = 0.0f
 

Additional Inherited Members

- Private 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
 
- Private 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
 
- Private Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Implements WorldPackets::Packet.

268 {
269  _worldPacket << float(Delay);
270 
271  return &_worldPacket;
272 }
WorldPacket _worldPacket
Definition: Packet.h:43
float Delay
Definition: MailPackets.h:244

Member Data Documentation

float WorldPackets::Mail::NotifyRecievedMail::Delay = 0.0f

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