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

#include <MovementPackets.h>

Public Member Functions

 TransferAborted ()
 
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 TransfertAbort = 0
 
uint8 Arg = 0
 
uint32 MapID = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Movement::TransferAborted::TransferAborted ( )
inline
197 : ServerPacket(SMSG_TRANSFER_ABORTED, 4 + 1 + 4) { }
Definition: Opcodes.h:1583
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49

Member Function Documentation

WorldPacket const * WorldPackets::Movement::TransferAborted::Write ( )
overridevirtual

Implements WorldPackets::Packet.

497 {
499  _worldPacket << uint8(Arg);
502  return &_worldPacket;
503 }
void FlushBits()
Definition: ByteBuffer.h:150
WorldPacket _worldPacket
Definition: Packet.h:43
uint32 TransfertAbort
Definition: MovementPackets.h:201
uint32 MapID
Definition: MovementPackets.h:203
uint8_t uint8
Definition: g3dmath.h:164
uint8 Arg
Definition: MovementPackets.h:202
uint32_t uint32
Definition: g3dmath.h:168
void WriteBits(T value, int32 bits)
Definition: ByteBuffer.h:198

Member Data Documentation

uint8 WorldPackets::Movement::TransferAborted::Arg = 0
uint32 WorldPackets::Movement::TransferAborted::MapID = 0
uint32 WorldPackets::Movement::TransferAborted::TransfertAbort = 0

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