![]() |
TrinityCore
|
Public Member Functions | |
| consteval | AuthHandlerTable () |
| constexpr AuthHandler const * | operator[] (eAuthCmd cmd) const |
Private Member Functions | |
| constexpr void | InitializeHandler (eAuthCmd cmd, AuthStatus status, std::size_t packetSize, bool(*handler)(AuthSession *)) |
Static Private Member Functions | |
| static constexpr std::size_t | GetOpcodeArrayIndex (eAuthCmd c) |
Private Attributes | |
| std::array< AuthHandler, 8 > | _handlers |
Definition at line 134 of file AuthSession.cpp.
|
inline |
Definition at line 137 of file AuthSession.cpp.
References AUTH_LOGON_CHALLENGE, AUTH_LOGON_CHALLENGE_INITIAL_SIZE, AUTH_LOGON_PROOF, AUTH_RECONNECT_CHALLENGE, AUTH_RECONNECT_PROOF, AuthSession::HandleLogonChallenge(), AuthSession::HandleLogonProof(), AuthSession::HandleRealmList(), AuthSession::HandleReconnectChallenge(), AuthSession::HandleReconnectProof(), AuthSession::HandleXferAccept(), AuthSession::HandleXferCancel(), AuthSession::HandleXferResume(), InitializeHandler(), REALM_LIST, REALM_LIST_PACKET_SIZE, STATUS_AUTHED, STATUS_CHALLENGE, STATUS_LOGON_PROOF, STATUS_RECONNECT_PROOF, STATUS_XFER, XFER_ACCEPT, XFER_CANCEL, and XFER_RESUME.
|
inlinestaticconstexprprivate |
Definition at line 164 of file AuthSession.cpp.
Referenced by InitializeHandler(), and operator[]().
|
inlineconstexprprivate |
Definition at line 169 of file AuthSession.cpp.
References _handlers, and GetOpcodeArrayIndex().
Referenced by AuthHandlerTable().
|
inlineconstexpr |
Definition at line 149 of file AuthSession.cpp.
References _handlers, AuthHandler::cmd, and GetOpcodeArrayIndex().
|
private |
Definition at line 174 of file AuthSession.cpp.
Referenced by InitializeHandler(), and operator[]().