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

#include <InstancePackets.h>

Public Member Functions

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

uint8 Type = 0
 
uint32 MapID = 0
 
uint32 DifficultyID = 0
 
int32 TimeLeft = 0
 
bool Locked = false
 
bool Extended = false
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Instance::RaidInstanceMessage::RaidInstanceMessage ( )
inline
156 : ServerPacket(SMSG_RAID_INSTANCE_MESSAGE, 1 + 4 + 4 + 4 + 1) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1428

Member Function Documentation

WorldPacket const * WorldPackets::Instance::RaidInstanceMessage::Write ( )
overridevirtual

Implements WorldPackets::Packet.

109 {
110  _worldPacket << uint8(Type);
117 
118  return &_worldPacket;
119 }
bool Locked
Definition: InstancePackets.h:164
uint32 MapID
Definition: InstancePackets.h:161
void FlushBits()
Definition: ByteBuffer.h:150
uint32 DifficultyID
Definition: InstancePackets.h:162
WorldPacket _worldPacket
Definition: Packet.h:43
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170
bool Extended
Definition: InstancePackets.h:165
uint8_t uint8
Definition: g3dmath.h:164
int32_t int32
Definition: g3dmath.h:167
uint32_t uint32
Definition: g3dmath.h:168
Type
Type of JSON value.
Definition: rapidjson.h:642
int32 TimeLeft
Definition: InstancePackets.h:163

Member Data Documentation

uint32 WorldPackets::Instance::RaidInstanceMessage::DifficultyID = 0
bool WorldPackets::Instance::RaidInstanceMessage::Extended = false
bool WorldPackets::Instance::RaidInstanceMessage::Locked = false
uint32 WorldPackets::Instance::RaidInstanceMessage::MapID = 0
int32 WorldPackets::Instance::RaidInstanceMessage::TimeLeft = 0
uint8 WorldPackets::Instance::RaidInstanceMessage::Type = 0

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