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

#include <CharacterPackets.h>

Public Member Functions

 UndeleteCharacter (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::shared_ptr
< CharacterUndeleteInfo
UndeleteInfo
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Character::UndeleteCharacter::UndeleteCharacter ( WorldPacket &&  packet)
inline
366 : ClientPacket(CMSG_UNDELETE_CHARACTER, std::move(packet)) { }
Definition: Opcodes.h:694
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Character::UndeleteCharacter::Read ( )
overridevirtual

Implements WorldPackets::Packet.

343 {
344  UndeleteInfo.reset(new CharacterUndeleteInfo());
345  _worldPacket >> UndeleteInfo->ClientToken;
346  _worldPacket >> UndeleteInfo->CharacterGuid;
347 }
WorldPacket _worldPacket
Definition: Packet.h:43
std::shared_ptr< CharacterUndeleteInfo > UndeleteInfo
Definition: CharacterPackets.h:374

Member Data Documentation

std::shared_ptr<CharacterUndeleteInfo> WorldPackets::Character::UndeleteCharacter::UndeleteInfo

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