![]() |
TrinityCore
|
#include <AuthSession.h>
Public Member Functions | |
| void | LoadResult (Field *fields) |
| AccountInfo (Field const *fields) | |
Public Attributes | |
| uint32 | Id = 0 |
| std::string | Login |
| bool | IsLockedToIP = false |
| std::string | LockCountry |
| std::string | LastIP |
| uint32 | FailedLogins = 0 |
| bool | IsBanned = false |
| bool | IsPermanenetlyBanned = false |
| AccountTypes | SecurityLevel = SEC_PLAYER |
| ::SessionKey | SessionKey |
| uint8 | Expansion |
| int64 | MuteTime |
| LocaleConstant | Locale |
| uint32 | Recruiter |
| std::string | OS |
| Minutes | TimezoneOffset |
| bool | IsRectuiter |
| AccountTypes | Security |
Definition at line 49 of file AuthSession.h.
|
inlineexplicit |
Definition at line 262 of file WorldSocket.cpp.
References CONFIG_EXPANSION, Expansion, Field::GetBinary(), Field::GetBool(), Field::GetInt64(), Field::GetString(), Field::GetUInt32(), Field::GetUInt64(), Field::GetUInt8(), Id, IsBanned, IsLockedToIP, IsRectuiter, LastIP, Locale, LOCALE_enUS, LockCountry, MuteTime, OS, Recruiter, Security, SESSION_KEY_LENGTH, sWorld, TimezoneOffset, and TOTAL_LOCALES.
| void AccountInfo::LoadResult | ( | Field * | fields | ) |
Definition at line 177 of file AuthSession.cpp.
References FailedLogins, Field::GetBool(), Field::GetStringView(), Field::GetUInt32(), Field::GetUInt64(), Id, IsBanned, IsLockedToIP, IsPermanenetlyBanned, LastIP, LockCountry, Login, SecurityLevel, and Utf8ToUpperOnlyLatin().
Referenced by AuthSession::LogonChallengeCallback(), and AuthSession::ReconnectChallengeCallback().
| uint8 AccountInfo::Expansion |
Definition at line 252 of file WorldSocket.cpp.
Referenced by AccountInfo(), and WorldSocket::HandleAuthSessionCallback().
| uint32 AccountInfo::FailedLogins = 0 |
Definition at line 58 of file AuthSession.h.
Referenced by LoadResult().
| uint32 AccountInfo::Id = 0 |
Definition at line 53 of file AuthSession.h.
Referenced by AccountInfo(), WorldSocket::HandleAuthSessionCallback(), AuthSession::HandleRealmList(), and LoadResult().
| bool AccountInfo::IsBanned = false |
Definition at line 59 of file AuthSession.h.
Referenced by AccountInfo(), WorldSocket::HandleAuthSessionCallback(), LoadResult(), and AuthSession::LogonChallengeCallback().
| bool AccountInfo::IsLockedToIP = false |
Definition at line 55 of file AuthSession.h.
Referenced by AccountInfo(), WorldSocket::HandleAuthSessionCallback(), LoadResult(), and AuthSession::LogonChallengeCallback().
| bool AccountInfo::IsPermanenetlyBanned = false |
Definition at line 60 of file AuthSession.h.
Referenced by LoadResult(), and AuthSession::LogonChallengeCallback().
| bool AccountInfo::IsRectuiter |
Definition at line 258 of file WorldSocket.cpp.
Referenced by AccountInfo(), and WorldSocket::HandleAuthSessionCallback().
| std::string AccountInfo::LastIP |
Definition at line 57 of file AuthSession.h.
Referenced by AccountInfo(), WorldSocket::HandleAuthSessionCallback(), LoadResult(), and AuthSession::LogonChallengeCallback().
| LocaleConstant AccountInfo::Locale |
Definition at line 254 of file WorldSocket.cpp.
Referenced by AccountInfo(), and WorldSocket::HandleAuthSessionCallback().
| std::string AccountInfo::LockCountry |
Definition at line 56 of file AuthSession.h.
Referenced by AccountInfo(), WorldSocket::HandleAuthSessionCallback(), LoadResult(), and AuthSession::LogonChallengeCallback().
| std::string AccountInfo::Login |
Definition at line 54 of file AuthSession.h.
Referenced by AuthSession::HandleLogonProof(), AuthSession::HandleReconnectProof(), LoadResult(), and AuthSession::LogonChallengeCallback().
| int64 AccountInfo::MuteTime |
Definition at line 253 of file WorldSocket.cpp.
Referenced by AccountInfo(), and WorldSocket::HandleAuthSessionCallback().
| std::string AccountInfo::OS |
Definition at line 256 of file WorldSocket.cpp.
Referenced by AccountInfo(), and WorldSocket::HandleAuthSessionCallback().
| uint32 AccountInfo::Recruiter |
Definition at line 255 of file WorldSocket.cpp.
Referenced by AccountInfo(), and WorldSocket::HandleAuthSessionCallback().
| AccountTypes AccountInfo::Security |
Definition at line 259 of file WorldSocket.cpp.
Referenced by AccountInfo(), and WorldSocket::HandleAuthSessionCallback().
| AccountTypes AccountInfo::SecurityLevel = SEC_PLAYER |
Definition at line 61 of file AuthSession.h.
Referenced by LoadResult(), and AuthSession::RealmListCallback().
| ::SessionKey AccountInfo::SessionKey |
Definition at line 248 of file WorldSocket.cpp.
Referenced by WorldSocket::HandleAuthSessionCallback().
| Minutes AccountInfo::TimezoneOffset |
Definition at line 257 of file WorldSocket.cpp.
Referenced by AccountInfo(), and WorldSocket::HandleAuthSessionCallback().