Eris  1.4.0
Public Member Functions | Protected Attributes | List of all members
Eris::Person Class Reference

An Out-of-Game Person (found in a Room / Lobby) As more person data becomes available, this class will be extended, for example to return nicknames, location, the choosen 'face' graphic. More...

#include <Person.h>

Public Member Functions

 Person (Lobby *l, const Atlas::Objects::Entity::Account &acc)
 create a person from sight
 
void sight (const Atlas::Objects::Entity::Account &acc)
 update a person based on sight
 
void msg (const std::string &msg)
 send a private message to a person
 
const std::string & getAccount () const
 access the Atlas account ID for this person
 
const std::string & getName () const
 access the human-readable name for this person
 

Protected Attributes

const std::string m_id
 the account ID
 
std::string m_fullName
 the name, i.e account.GetName()
 
Lobbym_lobby
 the lobby owning this Person
 

Detailed Description

An Out-of-Game Person (found in a Room / Lobby) As more person data becomes available, this class will be extended, for example to return nicknames, location, the choosen 'face' graphic.


The documentation for this class was generated from the following files: