diff options
author | Nay <dnpd.dd@gmail.com> | 2012-08-28 19:02:22 +0100 |
---|---|---|
committer | Nay <dnpd.dd@gmail.com> | 2012-08-28 19:02:22 +0100 |
commit | 6af514d592115dda44dde46a2f2420b35cbd08a9 (patch) | |
tree | 71e91bf8e6dce112542dcc4d53bc7f1071860b02 /src/server/authserver/Authentication/AuthCodes.h | |
parent | 9fe45d68707d45f7a82e3314566edc66ff1d84a2 (diff) | |
parent | ff886b626e7aaa9d8359cfbddc69227dd3f30883 (diff) |
Merge remote-tracking branch 'origin/master' into mmaps
Diffstat (limited to 'src/server/authserver/Authentication/AuthCodes.h')
-rwxr-xr-x | src/server/authserver/Authentication/AuthCodes.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/server/authserver/Authentication/AuthCodes.h b/src/server/authserver/Authentication/AuthCodes.h index f940d459d40..148225377ff 100755 --- a/src/server/authserver/Authentication/AuthCodes.h +++ b/src/server/authserver/Authentication/AuthCodes.h @@ -65,9 +65,6 @@ enum LoginResult LOGIN_LOCKED_ENFORCED = 0x10, }; -#define POST_BC_ACCEPTED_CLIENT_BUILD {12340, 11723, 11403, 11159, 10571, 10505, 10146, 9947, 8606, 0} -#define PRE_BC_ACCEPTED_CLIENT_BUILD {5875, 6005, 0} - enum ExpansionFlags { POST_BC_EXP_FLAG = 0x2, @@ -75,8 +72,18 @@ enum ExpansionFlags 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); |