TrinityCore
Loading...
Searching...
No Matches
AuthHandlerTable Class Reference

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
 

Detailed Description

Definition at line 136 of file AuthSession.cpp.

Constructor & Destructor Documentation

◆ AuthHandlerTable()

consteval AuthHandlerTable::AuthHandlerTable ( )
inline

Definition at line 139 of file AuthSession.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ GetOpcodeArrayIndex()

static constexpr std::size_t AuthHandlerTable::GetOpcodeArrayIndex ( eAuthCmd  c)
inlinestaticconstexprprivate

Definition at line 166 of file AuthSession.cpp.

+ Here is the caller graph for this function:

◆ InitializeHandler()

constexpr void AuthHandlerTable::InitializeHandler ( eAuthCmd  cmd,
AuthStatus  status,
std::size_t  packetSize,
bool(*)(AuthSession *)  handler 
)
inlineconstexprprivate

Definition at line 171 of file AuthSession.cpp.

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

◆ operator[]()

constexpr AuthHandler const * AuthHandlerTable::operator[] ( eAuthCmd  cmd) const
inlineconstexpr

Definition at line 151 of file AuthSession.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ _handlers

std::array<AuthHandler, 8> AuthHandlerTable::_handlers
private

Definition at line 176 of file AuthSession.cpp.


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