aboutsummaryrefslogtreecommitdiff
path: root/src/trinityrealm/AuthCodes.h
diff options
context:
space:
mode:
authorBrian <runningnak3d@gmail.com>2009-12-20 22:15:24 -0700
committerBrian <runningnak3d@gmail.com>2009-12-20 22:15:24 -0700
commite55710fc688af037938bf6ebc21ca24c0eb94547 (patch)
treeac0540f55960215b8c2214a0e05c7a3c2cd338ea /src/trinityrealm/AuthCodes.h
parent920c91941787f0935d46ae74a36dc1c2d8b620da (diff)
* Massive cleanup of realmd
* Patch by w12x -- THANK YOU! --HG-- branch : trunk
Diffstat (limited to 'src/trinityrealm/AuthCodes.h')
-rw-r--r--src/trinityrealm/AuthCodes.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/trinityrealm/AuthCodes.h b/src/trinityrealm/AuthCodes.h
index 53ae2236bcd..e0bfcf96ce7 100644
--- a/src/trinityrealm/AuthCodes.h
+++ b/src/trinityrealm/AuthCodes.h
@@ -72,8 +72,19 @@ enum LoginResult
//2.4.3 build 8606
//3.1.3 build 9947
//3.1.3 build 10146 Chinese build
-//3.2.2a build 10505
-#define EXPECTED_TRINITY_CLIENT_BUILD {10505, 10146, 9947, 8606, 5875, 6005, 0}
+#define POST_BC_ACCEPTED_CLIENT_BUILD {10505, 10146, 9947, 8606, 0}
+#define PRE_BC_ACCEPTED_CLIENT_BUILD {5875, 6005, 0}
+
+#define POST_BC_EXP_FLAG 0x2
+#define PRE_BC_EXP_FLAG 0x1
+#define NO_VALID_EXP_FLAG 0x0
+
+namespace AuthHelper
+{
+ bool IsAcceptedClientBuild(int build);
+ bool IsPostBCAcceptedClientBuild(int build);
+ bool IsPreBCAcceptedClientBuild(int build);
+};
#endif