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

#include <ChannelPackets.h>

Public Member Functions

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

std::string Sender
ObjectGuid SenderGuid
ObjectGuid SenderAccountID
uint8 Type = 0
uint8 OldFlags = 0
uint8 NewFlags = 0
std::string _Channel
 Channel Name. More...
uint32 SenderVirtualRealm = 0
ObjectGuid TargetGuid
uint32 TargetVirtualRealm = 0
int32 ChatChannelID = 0

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket

Constructor & Destructor Documentation

WorldPackets::Channel::ChannelNotify::ChannelNotify ( )
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:884

Member Function Documentation

WorldPacket const * WorldPackets::Channel::ChannelNotify::Write ( )

Implements WorldPackets::Packet.

39 {
41  _worldPacket.WriteBits(_Channel.length(), 7);
42  _worldPacket.WriteBits(Sender.length(), 6);
52  {
55  }
60  return &_worldPacket;
61 }
Definition: Channel.h:52
std::string Sender
Definition: ChannelPackets.h:59
uint32 TargetVirtualRealm
Definition: ChannelPackets.h:68
ObjectGuid SenderGuid
Definition: ChannelPackets.h:60
int32 ChatChannelID
Definition: ChannelPackets.h:69
WorldPacket _worldPacket
Definition: Packet.h:43
std::string _Channel
Channel Name.
Definition: ChannelPackets.h:65
ObjectGuid SenderAccountID
Definition: ChannelPackets.h:61
void WriteString(std::string const &str)
Definition: ByteBuffer.h:540
uint32 SenderVirtualRealm
Definition: ChannelPackets.h:66
ObjectGuid TargetGuid
Definition: ChannelPackets.h:67
uint8_t uint8
Definition: g3dmath.h:164
int32_t int32
Definition: g3dmath.h:167
uint8 NewFlags
Definition: ChannelPackets.h:64
uint32_t uint32
Definition: g3dmath.h:168
Type of JSON value.
Definition: rapidjson.h:642
uint8 OldFlags
Definition: ChannelPackets.h:63
void WriteBits(T value, int32 bits)
Definition: ByteBuffer.h:198

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

std::string WorldPackets::Channel::ChannelNotify::_Channel

Channel Name.

int32 WorldPackets::Channel::ChannelNotify::ChatChannelID = 0
uint8 WorldPackets::Channel::ChannelNotify::NewFlags = 0
See also
enum ChannelMemberFlags
uint8 WorldPackets::Channel::ChannelNotify::OldFlags = 0
See also
enum ChannelMemberFlags
std::string WorldPackets::Channel::ChannelNotify::Sender
ObjectGuid WorldPackets::Channel::ChannelNotify::SenderAccountID
ObjectGuid WorldPackets::Channel::ChannelNotify::SenderGuid
uint32 WorldPackets::Channel::ChannelNotify::SenderVirtualRealm = 0
ObjectGuid WorldPackets::Channel::ChannelNotify::TargetGuid
uint32 WorldPackets::Channel::ChannelNotify::TargetVirtualRealm = 0
uint8 WorldPackets::Channel::ChannelNotify::Type = 0
See also
enum ChatNotify

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