aboutsummaryrefslogtreecommitdiff
path: root/src/trinityrealm/AuthCodes.h
diff options
context:
space:
mode:
authormaanuel <none@none>2009-12-20 23:21:31 -0300
committermaanuel <none@none>2009-12-20 23:21:31 -0300
commitcca69e1c7d6c049751a1be42d664d5614ab9c3bc (patch)
tree09bd37b7ade56a7f7adb5c3e759d35cbe7c97dc9 /src/trinityrealm/AuthCodes.h
parentaf83219083a2473068eb17092f9933247eace9f7 (diff)
parent0e8dd6d97e015340f3f1ccb7be30d9f0c22b46bb (diff)
Merge
--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