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

#include <CharacterPackets.h>

Public Member Functions

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

< CharacterRenameInfo

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket

Constructor & Destructor Documentation

WorldPackets::Character::CharacterRenameRequest::CharacterRenameRequest ( WorldPacket &&  packet)
234 : ClientPacket(CMSG_CHARACTER_RENAME_REQUEST, std::move(packet)) { }
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62
Definition: Opcodes.h:160

Member Function Documentation

void WorldPackets::Character::CharacterRenameRequest::Read ( )

Implements WorldPackets::Packet.

216 {
217  RenameInfo.reset(new CharacterRenameInfo());
218  _worldPacket >> RenameInfo->Guid;
220 }
uint32 ReadBits(int32 bits)
Definition: ByteBuffer.h:204
WorldPacket _worldPacket
Definition: Packet.h:43
std::string ReadString(uint32 length)
Definition: ByteBuffer.h:524
std::shared_ptr< CharacterRenameInfo > RenameInfo
Definition: CharacterPackets.h:242

+ Here is the call graph for this function:

Member Data Documentation

std::shared_ptr<CharacterRenameInfo> WorldPackets::Character::CharacterRenameRequest::RenameInfo

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