37 Room*
join(
const std::string &roomID);
72 void look(
const std::string &
id);
74 void sightPerson(
const Atlas::Objects::Entity::Account &ac);
75 Router::RouterResult recvTalk(
const Atlas::Objects::Operation::Talk& tk);
76 void recvInitialSight(
const Atlas::Objects::Entity::RootEntity& ent);
78 void recvAppearance(
const Atlas::Objects::Root& obj);
79 void recvDisappearance(
const Atlas::Objects::Root& obj);
81 Router::RouterResult recvImaginary(
const Atlas::Objects::Operation::Imaginary& im);
85 void onLogout(
bool clean);
90 typedef std::map<std::string, Room*> IdRoomMap;
const std::string & getAccount() const
access the Atlas account ID for this person
Definition: Person.h:28
const std::string & getId() const
returns the account ID if logged in
Definition: Account.h:318
Lobby is the Out-of-Game session object, valid from connection to the server until disconnection.
Definition: Lobby.h:26
The out-of-game (OOG) heirarchy is composed of Rooms, containing Persons and other Rooms.
Definition: Room.h:25
sigc::signal< void, Person * > SightPerson
Emitted when sight of a person is received.
Definition: Lobby.h:59
Person * getPerson(const std::string &acc)
obtain a person's info, given their account ID; may return NULL
Definition: Lobby.cpp:193
Connection * getConnection() const
Access the underlying Connection for this account.
Definition: Account.h:334
An Out-of-Game Person (found in a Room / Lobby) As more person data becomes available,...
Definition: Person.h:16
std::string getId() const
Get the Atlas object ID of the Room; note that this may return an empty value if called prior to ente...
Definition: Room.h:68
A service class querying and caching types.
Definition: TypeService.h:25
virtual ~Lobby()
Delete the Lobby, including all it's Rooms and Persons.
Definition: Lobby.cpp:125
Encapsulates all the state of an Atlas Account, and methods that operation on that state.
Definition: Account.h:45
abstract interface for objects that can route Atlas data.
Definition: Router.h:11
Definition: LogStream.h:56
sigc::signal< void, bool > LogoutComplete
Emitted when a logout completes.
Definition: Account.h:220
helper to buffer operations when waiting on sight of a person.
Definition: Lobby.cpp:254
Room * getRoom(const std::string &id)
Obtain a Room object, given the rooms' id.
Definition: Lobby.cpp:206
bool isLoggedIn() const
Check if the account is logged in.
Definition: Account.cpp:351
Definition: Redispatch.h:16
sigc::signal< void, Person *, const std::string & > PrivateTalk
Emitted when some person sends a private (one-to-one) chat message to the client's account.
Definition: Lobby.h:66
Account * getAccount() const
Retrive the Account which this lobbby is bound to.
Definition: Lobby.h:49
Room * join(const std::string &roomID)
Join the specified room, or return NULL if an error occurs.
Definition: Lobby.cpp:161
virtual void send(const Atlas::Objects::Root &obj)
Transmit an Atlas::Objects instance to the server.
Definition: Connection.cpp:147
Underlying Atlas connection, providing a send interface, and receive (dispatch) system.
Definition: Connection.h:40
Connection * getConnection() const
Helper method to access the underlying Connection from the Account.
Definition: Lobby.cpp:188
sigc::signal< void > LoginSuccess
Emitted when login or character creation is successful.
Definition: Account.h:213