54
53
void SetSessionPlayerData(SessionId session, boost::shared_ptr<PlayerData> playerData);
55
54
void RemoveSession(SessionId session);
58
56
SessionWrapper GetSessionById(SessionId id) const;
59
57
SessionWrapper GetSessionByPlayerName(const std::string playerName) const;
60
58
SessionWrapper GetSessionByUniquePlayerId(unsigned uniqueId) const;
64
60
PlayerDataList GetPlayerDataList() const;
65
61
PlayerIdList GetPlayerIdList() const;
66
62
bool IsPlayerConnected(const std::string &playerName) const;