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

#include <VoicePackets.h>

Public Member Functions

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

uint8 ChannelType = 0
 
std::string ChannelName
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Voice::SetActiveVoiceChannel::SetActiveVoiceChannel ( WorldPacket &&  packet)
inline
41 : ClientPacket(CMSG_SET_ACTIVE_VOICE_CHANNEL, std::move(packet)) { }
Definition: Opcodes.h:606
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Voice::SetActiveVoiceChannel::Read ( )
overridevirtual

Implements WorldPackets::Packet.

27 {
30 }
uint8 ChannelType
Definition: VoicePackets.h:45
uint32 ReadBits(int32 bits)
Definition: ByteBuffer.h:204
WorldPacket _worldPacket
Definition: Packet.h:43
std::string ReadString(uint32 length)
Definition: ByteBuffer.h:524
std::string ChannelName
Definition: VoicePackets.h:46

Member Data Documentation

std::string WorldPackets::Voice::SetActiveVoiceChannel::ChannelName
uint8 WorldPackets::Voice::SetActiveVoiceChannel::ChannelType = 0

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