TrinityCore
WorldPackets::Auth::EnterEncryptedMode Class Referencefinal

#include <AuthenticationPackets.h>

+ Inheritance diagram for WorldPackets::Auth::EnterEncryptedMode:

Public Member Functions

 EnterEncryptedMode (std::array< uint8, 16 > const &encryptionKey, bool enabled)
 
WorldPacket const * Write () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
 
void Read () override final
 
void Clear ()
 
WorldPacket && Move ()
 
void ShrinkToFit ()
 
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
 
virtual WorldPacket const * Write ()=0
 
virtual void Read ()=0
 
WorldPacket const * GetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Static Public Member Functions

static bool InitializeEncryption ()
 
static void ShutdownEncryption ()
 

Public Attributes

std::array< uint8, 16 > const & EncryptionKey
 
bool Enabled = false
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 297 of file AuthenticationPackets.h.

Constructor & Destructor Documentation

◆ EnterEncryptedMode()

WorldPackets::Auth::EnterEncryptedMode::EnterEncryptedMode ( std::array< uint8, 16 > const &  encryptionKey,
bool  enabled 
)
inline

Definition at line 303 of file AuthenticationPackets.h.

Member Function Documentation

◆ InitializeEncryption()

bool WorldPackets::Auth::EnterEncryptedMode::InitializeEncryption ( )
static

Definition at line 334 of file AuthenticationPackets.cpp.

+ Here is the caller graph for this function:

◆ ShutdownEncryption()

void WorldPackets::Auth::EnterEncryptedMode::ShutdownEncryption ( )
static

Definition at line 344 of file AuthenticationPackets.cpp.

+ Here is the caller graph for this function:

◆ Write()

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

Implements WorldPackets::Packet.

Definition at line 352 of file AuthenticationPackets.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ Enabled

bool WorldPackets::Auth::EnterEncryptedMode::Enabled = false

Definition at line 311 of file AuthenticationPackets.h.

◆ EncryptionKey

std::array<uint8, 16> const& WorldPackets::Auth::EnterEncryptedMode::EncryptionKey

Definition at line 310 of file AuthenticationPackets.h.


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