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

#include <PetitionPackets.h>

Public Member Functions

 PetitionRenameGuild (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 PetitionGuid
 
std::string NewGuildName
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Petition::PetitionRenameGuild::PetitionRenameGuild ( WorldPacket &&  packet)
inline
223 : ClientPacket(CMSG_PETITION_RENAME_GUILD, std::move(packet)) { }
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62
Definition: Opcodes.h:488

Member Function Documentation

void WorldPackets::Petition::PetitionRenameGuild::Read ( )
overridevirtual

Implements WorldPackets::Packet.

173 {
175 
177  uint32 nameLen = _worldPacket.ReadBits(7);
178 
180 }
uint32 ReadBits(int32 bits)
Definition: ByteBuffer.h:204
void ResetBitPos()
Definition: ByteBuffer.h:161
WorldPacket _worldPacket
Definition: Packet.h:43
std::string ReadString(uint32 length)
Definition: ByteBuffer.h:524
std::string NewGuildName
Definition: PetitionPackets.h:228
uint32_t uint32
Definition: Define.h:150
ObjectGuid PetitionGuid
Definition: PetitionPackets.h:227

Member Data Documentation

std::string WorldPackets::Petition::PetitionRenameGuild::NewGuildName
ObjectGuid WorldPackets::Petition::PetitionRenameGuild::PetitionGuid

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