38 Room*
join(
const std::string &roomID);
73 void look(
const std::string &
id);
75 void sightPerson(
const Atlas::Objects::Entity::Account &ac);
76 Router::RouterResult recvTalk(
const Atlas::Objects::Operation::Talk& tk);
77 void recvInitialSight(
const Atlas::Objects::Entity::RootEntity& ent);
79 void recvAppearance(
const Atlas::Objects::Root& obj);
80 void recvDisappearance(
const Atlas::Objects::Root& obj);
82 Router::RouterResult recvImaginary(
const Atlas::Objects::Operation::Imaginary& im);
86 void onLogout(
bool clean);
91 std::unordered_map<std::string, std::unique_ptr<Room>> m_rooms;
93 std::unique_ptr<OOGRouter> m_router;
Room * getRoom(const std::string &id)
Room * join(const std::string &roomID)
Person * getPerson(const std::string &acc)
obtain a person's info, given their account ID; may return nullptr
Encapsulates all the state of an Atlas Account, and methods that operation on that state...
Account & getAccount() const
Retrive the Account which this lobbby is bound to.
sigc::signal< void, Person *, const std::string & > PrivateTalk
sigc::signal< void, Person * > SightPerson
Emitted when sight of a person is received.
Connection & getConnection() const
Helper method to access the underlying Connection from the Account.