TrinityCore
WorldPackets::Auth::ConnectTo Class Referencefinal

#include <AuthenticationPackets.h>

+ Inheritance diagram for WorldPackets::Auth::ConnectTo:

Classes

struct  ConnectPayload
 
struct  SocketAddress
 

Public Types

enum  AddressType : uint8 { None = 0 , IPv4 = 1 , IPv6 = 2 , NamedSocket = 3 }
 

Public Member Functions

 ConnectTo ()
 
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

uint64 Key = 0
 
ConnectToSerial Serial = ConnectToSerial::None
 
ConnectPayload Payload
 
uint8 Con = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 215 of file AuthenticationPackets.h.

Member Enumeration Documentation

◆ AddressType

Enumerator
None 
IPv4 
IPv6 
NamedSocket 

Definition at line 221 of file AuthenticationPackets.h.

Constructor & Destructor Documentation

◆ ConnectTo()

WorldPackets::Auth::ConnectTo::ConnectTo ( )

Definition at line 277 of file AuthenticationPackets.cpp.

Member Function Documentation

◆ InitializeEncryption()

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

Definition at line 262 of file AuthenticationPackets.cpp.

+ Here is the caller graph for this function:

◆ ShutdownEncryption()

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

Definition at line 272 of file AuthenticationPackets.cpp.

+ Here is the caller graph for this function:

◆ Write()

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

Implements WorldPackets::Packet.

Definition at line 281 of file AuthenticationPackets.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ Con

uint8 WorldPackets::Auth::ConnectTo::Con = 0

Definition at line 254 of file AuthenticationPackets.h.

◆ Key

uint64 WorldPackets::Auth::ConnectTo::Key = 0

Definition at line 251 of file AuthenticationPackets.h.

◆ Payload

ConnectPayload WorldPackets::Auth::ConnectTo::Payload

Definition at line 253 of file AuthenticationPackets.h.

◆ Serial

ConnectToSerial WorldPackets::Auth::ConnectTo::Serial = ConnectToSerial::None

Definition at line 252 of file AuthenticationPackets.h.


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