diff options
author | KingPin <none@none> | 2008-10-19 21:08:34 -0500 |
---|---|---|
committer | KingPin <none@none> | 2008-10-19 21:08:34 -0500 |
commit | fcde03a03670caa76b0933dbf3e7a1e95bb2b3be (patch) | |
tree | d71f1892493c6d9b12aca88a1ceca9c0fc9c981b /src/trinityrealm/AuthSocket.h | |
parent | 0cb3a7951811140c2619353c0e3c3b4dd727a63c (diff) |
[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
Diffstat (limited to 'src/trinityrealm/AuthSocket.h')
-rw-r--r-- | src/trinityrealm/AuthSocket.h | 9 |
1 files changed, 8 insertions, 1 deletions
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 |