From fcde03a03670caa76b0933dbf3e7a1e95bb2b3be Mon Sep 17 00:00:00 2001 From: KingPin Date: Sun, 19 Oct 2008 21:08:34 -0500 Subject: [svn] * Fixed compile from r78 * Fixed: not apply healling bonus to spell 40972 heal amount. - Source Mangos * Item 30627 hidden cooldown - Source Mangos * Fixed Trinityrealm autopatching system - Source Arrai * Add support for autoconf 2.6.2 and newer - Source Derex Some decent sized changes, please test before deploying - KP --HG-- branch : trunk --- src/trinityrealm/AuthSocket.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/trinityrealm/AuthSocket.h') diff --git a/src/trinityrealm/AuthSocket.h b/src/trinityrealm/AuthSocket.h index b58f1d79eec..ab9c2cf3da9 100644 --- a/src/trinityrealm/AuthSocket.h +++ b/src/trinityrealm/AuthSocket.h @@ -33,6 +33,7 @@ #include "sockets/Utility.h" #include "sockets/Parse.h" #include "sockets/Socket.h" +#include "zthread/Mutex.h" /// Handle login commands class AuthSocket: public TcpSocket @@ -58,6 +59,7 @@ class AuthSocket: public TcpSocket void _SetVSFields(std::string rI); FILE *pPatch; + ZThread::Mutex patcherLock; bool IsLag(); private: @@ -70,7 +72,12 @@ class AuthSocket: public TcpSocket std::string _login; std::string _safelogin; - uint8 _localization; + + + // Since GetLocaleByName() is _NOT_ bijective, we have to store the locale as a string. Otherwise we can't differ + // between enUS and enGB, which is important for the patch system + std::string _localizationName; + uint16 _build; AccountTypes _accountSecurityLevel; }; #endif -- cgit v1.2.3