![]() |
TrinityCore
|
#include <AuthenticationPackets.h>
Inheritance diagram for WorldPackets::Auth::AuthResponse: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 () 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 | |
| Packet & | operator= (Packet const &right)=delete |
| WorldPacket const * | GetRawPacket () const |
| size_t | GetSize () const |
| ConnectionType | GetConnection () const |
Public Attributes | |
| Optional< AuthSuccessInfo > | 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. | |
| Optional< AuthWaitInfo > | WaitInfo |
| contains the queue wait information in case the account is in the login queue. | |
| uint32 | Result = 0 |
| the result of the authentication process, possible values are BattlenetRpcErrorCode | |
Additional Inherited Members | |
Protected Attributes inherited from WorldPackets::Packet | |
| WorldPacket | _worldPacket |
Definition at line 194 of file AuthenticationPackets.h.
|
inlineexplicit |
Definition at line 197 of file AuthenticationPackets.h.
|
overridevirtual |
Implements WorldPackets::Packet.
Definition at line 203 of file AuthenticationPackets.cpp.
References WorldPackets::Packet::_worldPacket, ByteBuffer::FlushBits(), WorldPackets::OptionalInit(), Result, SuccessInfo, and WaitInfo.
Referenced by WorldSession::SendAuthResponse(), and WorldSocket::SendAuthResponseError().
| uint32 WorldPackets::Auth::AuthResponse::Result = 0 |
the result of the authentication process, possible values are BattlenetRpcErrorCode
Definition at line 203 of file AuthenticationPackets.h.
Referenced by WorldSession::SendAuthResponse(), WorldSocket::SendAuthResponseError(), and Write().
| 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 201 of file AuthenticationPackets.h.
Referenced by WorldSession::SendAuthResponse(), and Write().
| Optional<AuthWaitInfo> WorldPackets::Auth::AuthResponse::WaitInfo |
contains the queue wait information in case the account is in the login queue.
Definition at line 202 of file AuthenticationPackets.h.
Referenced by WorldSession::SendAuthResponse(), and Write().