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

#include <GuildPackets.h>

Public Member Functions

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

ObjectGuid Member
 
bool IsPublic = false
 0 == Officer, 1 == Public More...
 
std::string Note
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Guild::GuildMemberUpdateNote::GuildMemberUpdateNote ( )
inline
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1100

Member Function Documentation

WorldPacket const * WorldPackets::Guild::GuildMemberUpdateNote::Write ( )
overridevirtual

Implements WorldPackets::Packet.

453 {
454  _worldPacket.reserve(16 + 2 + Note.size());
455 
456  _worldPacket << Member;
457 
458  _worldPacket.WriteBits(Note.length(), 8);
461 
463 
464  return &_worldPacket;
465 }
std::string Note
Definition: GuildPackets.h:561
ObjectGuid Member
Definition: GuildPackets.h:559
void FlushBits()
Definition: ByteBuffer.h:150
WorldPacket _worldPacket
Definition: Packet.h:43
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170
void WriteString(std::string const &str)
Definition: ByteBuffer.h:540
void reserve(size_t ressize)
Definition: ByteBuffer.h:597
bool IsPublic
0 == Officer, 1 == Public
Definition: GuildPackets.h:560
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

bool WorldPackets::Guild::GuildMemberUpdateNote::IsPublic = false

0 == Officer, 1 == Public

ObjectGuid WorldPackets::Guild::GuildMemberUpdateNote::Member
std::string WorldPackets::Guild::GuildMemberUpdateNote::Note

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