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

#include <AuthenticationPackets.h>

Public Member Functions

 AuthChallenge ()
 
WorldPacket constWrite () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
 
void Read () overridefinal
 
void Clear ()
 
WorldPacket && Move ()
 
OpcodeServer 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::array< uint8, 16 > Challenge
 
uint32 DosChallenge [8]
 Encryption seeds. More...
 
uint8 DosZeroBits = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Auth::AuthChallenge::AuthChallenge ( )
inline
37 : ServerPacket(SMSG_AUTH_CHALLENGE, 4 + 32 + 1) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:773

Member Function Documentation

WorldPacket const * WorldPackets::Auth::AuthChallenge::Write ( )
overridevirtual

Implements WorldPackets::Packet.

22 {
24  _worldPacket.append(Challenge.data(), Challenge.size());
26  return &_worldPacket;
27 }
WorldPacket _worldPacket
Definition: Packet.h:43
uint32 DosChallenge[8]
Encryption seeds.
Definition: AuthenticationPackets.h:42
uint8 DosZeroBits
Definition: AuthenticationPackets.h:43
void append(T value)
Definition: ByteBuffer.h:143
uint8_t uint8
Definition: g3dmath.h:164
std::array< uint8, 16 > Challenge
Definition: AuthenticationPackets.h:41

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

std::array<uint8, 16> WorldPackets::Auth::AuthChallenge::Challenge
uint32 WorldPackets::Auth::AuthChallenge::DosChallenge[8]

Encryption seeds.

uint8 WorldPackets::Auth::AuthChallenge::DosZeroBits = 0

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