Creating session id for rejoin (ticket #5). Next step is storing this session id on the client in a file.
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
|
||||
#include <boost/asio.hpp>
|
||||
#include <boost/enable_shared_from_this.hpp>
|
||||
#include <boost/uuid/uuid_generators.hpp>
|
||||
|
||||
#include <net/sessionmanager.h>
|
||||
#include <net/netpacket.h>
|
||||
@@ -258,6 +259,8 @@ private:
|
||||
boost::asio::deadline_timer m_saveStatisticsTimer;
|
||||
boost::asio::deadline_timer m_loginLockTimer;
|
||||
|
||||
boost::uuids::random_generator m_sessionIdGenerator;
|
||||
|
||||
const boost::posix_time::ptime m_startTime;
|
||||
|
||||
friend class InternalServerCallback;
|
||||
|
||||
Reference in New Issue
Block a user