More fixes. Using player name as base for game name now. Removing games which have no players left. Check collision of all player names on connect (kind of slow, but name needs to be unique).
This commit is contained in:
@@ -46,6 +46,8 @@ public:
|
||||
SessionManager();
|
||||
virtual ~SessionManager();
|
||||
|
||||
bool HasSessions() const;
|
||||
|
||||
void AddSession(boost::shared_ptr<SessionData> sessionData); // new Sessions without player data
|
||||
void AddSession(SessionWrapper session);
|
||||
void SetSessionPlayerData(SOCKET session, boost::shared_ptr<PlayerData> playerData);
|
||||
|
||||
Reference in New Issue
Block a user