aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver/Authentication/AuthCodes.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2019-01-15 22:49:27 +0100
committerShauren <shauren.trinity@gmail.com>2019-01-15 22:49:27 +0100
commit250fcc8970842e3e8c6b48c15ed3b7c8ba240df1 (patch)
tree0c520fce55c6ec2bf0732ab70b51dd1f5e3b6763 /src/server/authserver/Authentication/AuthCodes.h
parentec1cfa36f4c286ad8037516460a4e99ea5d7a5ed (diff)
Core/Auth: Implement additional version check for modified clients during login
Diffstat (limited to 'src/server/authserver/Authentication/AuthCodes.h')
-rw-r--r--src/server/authserver/Authentication/AuthCodes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server/authserver/Authentication/AuthCodes.h b/src/server/authserver/Authentication/AuthCodes.h
index df5a2d6c538..c734a87968f 100644
--- a/src/server/authserver/Authentication/AuthCodes.h
+++ b/src/server/authserver/Authentication/AuthCodes.h
@@ -19,6 +19,9 @@
#ifndef _AUTHCODES_H
#define _AUTHCODES_H
+#include "Define.h"
+#include <array>
+
enum AuthResult
{
WOW_SUCCESS = 0x00,
@@ -84,6 +87,8 @@ struct RealmBuildInfo
int MinorVersion;
int BugfixVersion;
int HotfixVersion;
+ std::array<uint8, 20> WindowsHash;
+ std::array<uint8, 20> MacHash;
};
namespace AuthHelper