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

#include <GuildPackets.h>

Public Member Functions

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

ObjectGuid NoteeGUID
 
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::GuildSetMemberNote::GuildSetMemberNote ( WorldPacket &&  packet)
inline
543 : ClientPacket(CMSG_GUILD_SET_MEMBER_NOTE, std::move(packet)) { }
Definition: Opcodes.h:343
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Guild::GuildSetMemberNote::Read ( )
overridevirtual

Implements WorldPackets::Packet.

443 {
445 
446  uint32 noteLen = _worldPacket.ReadBits(8);
448 
449  Note = _worldPacket.ReadString(noteLen);
450 }
bool IsPublic
0 == Officer, 1 == Public
Definition: GuildPackets.h:548
uint32 ReadBits(int32 bits)
Definition: ByteBuffer.h:204
WorldPacket _worldPacket
Definition: Packet.h:43
std::string ReadString(uint32 length)
Definition: ByteBuffer.h:524
uint32_t uint32
Definition: Define.h:150
ObjectGuid NoteeGUID
Definition: GuildPackets.h:547
std::string Note
Definition: GuildPackets.h:549
bool ReadBit()
Definition: ByteBuffer.h:186

Member Data Documentation

bool WorldPackets::Guild::GuildSetMemberNote::IsPublic = false

0 == Officer, 1 == Public

std::string WorldPackets::Guild::GuildSetMemberNote::Note
ObjectGuid WorldPackets::Guild::GuildSetMemberNote::NoteeGUID

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