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

#include <BattlenetPackets.h>

Public Member Functions

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

uint32 Token = 0
 
std::array< uint8, 32 > Secret
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Battlenet::RequestRealmListTicket::RequestRealmListTicket ( WorldPacket &&  packet)
inline
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Battlenet::RequestRealmListTicket::Read ( )
overridevirtual

Implements WorldPackets::Packet.

86 {
88  _worldPacket.read(Secret.data(), Secret.size());
89 }
uint32 Token
Definition: BattlenetPackets.h:102
WorldPacket _worldPacket
Definition: Packet.h:43
std::array< uint8, 32 > Secret
Definition: BattlenetPackets.h:103
T read()
Definition: ByteBuffer.h:484

Member Data Documentation

std::array<uint8, 32> WorldPackets::Battlenet::RequestRealmListTicket::Secret
uint32 WorldPackets::Battlenet::RequestRealmListTicket::Token = 0

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