TrinityCore
WorldPackets::Auth::AuthResponse Class Referencefinal

#include <AuthenticationPackets.h>

+ Inheritance diagram for WorldPackets::Auth::AuthResponse:

Classes

struct  AuthSuccessInfo
 

Public Member Functions

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

Public Attributes

Optional< AuthSuccessInfoSuccessInfo
 contains the packet data in case that it has account information (It is never set when WaitInfo is set), otherwise its contents are undefined. More...
 
Optional< AuthWaitInfoWaitInfo
 contains the queue wait information in case the account is in the login queue. More...
 
uint32 Result = 0
 the result of the authentication process, possible values are BattlenetRpcErrorCode More...
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 132 of file AuthenticationPackets.h.

Constructor & Destructor Documentation

◆ AuthResponse()

WorldPackets::Auth::AuthResponse::AuthResponse ( )
inline

Definition at line 177 of file AuthenticationPackets.h.

Member Function Documentation

◆ Write()

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

Implements WorldPackets::Packet.

Definition at line 113 of file AuthenticationPackets.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ Result

uint32 WorldPackets::Auth::AuthResponse::Result = 0

the result of the authentication process, possible values are BattlenetRpcErrorCode

Definition at line 183 of file AuthenticationPackets.h.

◆ SuccessInfo

Optional<AuthSuccessInfo> WorldPackets::Auth::AuthResponse::SuccessInfo

contains the packet data in case that it has account information (It is never set when WaitInfo is set), otherwise its contents are undefined.

Definition at line 181 of file AuthenticationPackets.h.

◆ WaitInfo

Optional<AuthWaitInfo> WorldPackets::Auth::AuthResponse::WaitInfo

contains the queue wait information in case the account is in the login queue.

Definition at line 182 of file AuthenticationPackets.h.


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