All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::Channel::LeaveChannel Class Referencefinal

#include <ChannelPackets.h>

Public Member Functions

 LeaveChannel (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

int32 ZoneChannelID = 0
std::string ChannelName

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket

Constructor & Destructor Documentation

WorldPackets::Channel::LeaveChannel::LeaveChannel ( WorldPacket &&  packet)
197 : ClientPacket(CMSG_CHAT_LEAVE_CHANNEL, std::move(packet)) { }
Definition: Opcodes.h:194
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Channel::LeaveChannel::Read ( )

Implements WorldPackets::Packet.

182 {
185 }
uint32 ReadBits(int32 bits)
Definition: ByteBuffer.h:204
int32 ZoneChannelID
Definition: ChannelPackets.h:201
WorldPacket _worldPacket
Definition: Packet.h:43
std::string ReadString(uint32 length)
Definition: ByteBuffer.h:524
std::string ChannelName
Definition: ChannelPackets.h:202

Member Data Documentation

std::string WorldPackets::Channel::LeaveChannel::ChannelName
int32 WorldPackets::Channel::LeaveChannel::ZoneChannelID = 0

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