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

#include <BattlefieldPackets.h>

Public Member Functions

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

uint64 QueueID = 0
 
int8 Reason = 0
 
int8 BattleState = 0
 
bool Relocated = false
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Battlefield::BFMgrEjected::BFMgrEjected ( )
inline
120 : ServerPacket(SMSG_BF_MGR_EJECTED, 8 + 1 + 1 + 1) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:823

Member Function Documentation

WorldPacket const * WorldPackets::Battlefield::BFMgrEjected::Write ( )
overridevirtual

Implements WorldPackets::Packet.

81 {
87  return &_worldPacket;
88 }
int8_t int8
Definition: g3dmath.h:163
void FlushBits()
Definition: ByteBuffer.h:150
uint64_t uint64
Definition: g3dmath.h:170
WorldPacket _worldPacket
Definition: Packet.h:43
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170
bool Relocated
Definition: BattlefieldPackets.h:127
uint64 QueueID
Definition: BattlefieldPackets.h:124
int8 BattleState
Definition: BattlefieldPackets.h:126
int8 Reason
Definition: BattlefieldPackets.h:125

+ Here is the caller graph for this function:

Member Data Documentation

int8 WorldPackets::Battlefield::BFMgrEjected::BattleState = 0
uint64 WorldPackets::Battlefield::BFMgrEjected::QueueID = 0
int8 WorldPackets::Battlefield::BFMgrEjected::Reason = 0
bool WorldPackets::Battlefield::BFMgrEjected::Relocated = false

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