AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
AuthHelper Namespace Reference

Functions

bool IsPreBCAcceptedClientBuild (uint32 build)
 
bool IsPostBCAcceptedClientBuild (uint32 build)
 
bool IsAcceptedClientBuild (uint32 build)
 

Variables

static constexpr uint32 MAX_PRE_BC_CLIENT_BUILD = 6141
 

Function Documentation

◆ IsAcceptedClientBuild()

bool AuthHelper::IsAcceptedClientBuild ( uint32  build)
36 {
37 return sRealmList->GetBuildInfo(build) != nullptr;
38 }
#define sRealmList
Definition: RealmList.h:77

References sRealmList.

Referenced by AuthSession::LogonChallengeCallback().

◆ IsPostBCAcceptedClientBuild()

bool AuthHelper::IsPostBCAcceptedClientBuild ( uint32  build)
31 {
32 return build > MAX_PRE_BC_CLIENT_BUILD && sRealmList->GetBuildInfo(build);
33 }
static constexpr uint32 MAX_PRE_BC_CLIENT_BUILD
Definition: AuthCodes.cpp:23

References MAX_PRE_BC_CLIENT_BUILD, and sRealmList.

Referenced by AuthSession::HandleLogonChallenge(), and AuthSession::HandleReconnectChallenge().

◆ IsPreBCAcceptedClientBuild()

bool AuthHelper::IsPreBCAcceptedClientBuild ( uint32  build)

Variable Documentation

◆ MAX_PRE_BC_CLIENT_BUILD

constexpr uint32 AuthHelper::MAX_PRE_BC_CLIENT_BUILD = 6141
staticconstexpr