diff options
author | Nay <dnpd.dd@gmail.com> | 2012-08-28 14:12:17 +0100 |
---|---|---|
committer | Nay <dnpd.dd@gmail.com> | 2012-08-28 14:12:17 +0100 |
commit | 449e577b70dab742942eeae2da88973d36048e8b (patch) | |
tree | f9e6e2266bc4589f701558b19a2cb70c538fbc0a /src/server/authserver/Authentication/AuthCodes.h | |
parent | 9bb198d17037a9b41be09d137bb6237f9acd62c5 (diff) |
Core/Authserver: Fix previous merge
Diffstat (limited to 'src/server/authserver/Authentication/AuthCodes.h')
-rwxr-xr-x | src/server/authserver/Authentication/AuthCodes.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/server/authserver/Authentication/AuthCodes.h b/src/server/authserver/Authentication/AuthCodes.h index 9d631a5800d..148225377ff 100755 --- a/src/server/authserver/Authentication/AuthCodes.h +++ b/src/server/authserver/Authentication/AuthCodes.h @@ -65,12 +65,28 @@ enum LoginResult LOGIN_LOCKED_ENFORCED = 0x10, }; -#define TRINITYCORE_ACCEPTED_CLIENT_BUILD {15595, 12340, 0} // accept one Cataclysm and one Wrath of the Lich King build +enum ExpansionFlags +{ + POST_BC_EXP_FLAG = 0x2, + PRE_BC_EXP_FLAG = 0x1, + NO_VALID_EXP_FLAG = 0x0 +}; +struct RealmBuildInfo +{ + int Build; + int MajorVersion; + int MinorVersion; + int BugfixVersion; + int HotfixVersion; +}; namespace AuthHelper { + RealmBuildInfo const* GetBuildInfo(int build); bool IsAcceptedClientBuild(int build); + bool IsPostBCAcceptedClientBuild(int build); + bool IsPreBCAcceptedClientBuild(int build); }; #endif |