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

#include <GuildPackets.h>

Public Member Functions

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

std::string Name

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket

Constructor & Destructor Documentation

WorldPackets::Guild::GuildInviteByName::GuildInviteByName ( WorldPacket &&  packet)
199 : ClientPacket(CMSG_GUILD_INVITE_BY_NAME, std::move(packet)) { }
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62
Definition: Opcodes.h:328

Member Function Documentation

void WorldPackets::Guild::GuildInviteByName::Read ( )

Implements WorldPackets::Packet.

121 {
122  uint32 nameLen = _worldPacket.ReadBits(9);
123  Name = _worldPacket.ReadString(nameLen);
124 }
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
std::string Name
Definition: GuildPackets.h:203

Member Data Documentation

std::string WorldPackets::Guild::GuildInviteByName::Name

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