/usr/include/Eris-1.3/Eris/Person.h is in liberis-1.3-dev 1.3.21-0.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | #ifndef ERIS_PERSON_H
#define ERIS_PERSON_H
#include <string>
#include <Atlas/Objects/ObjectsFwd.h>
namespace Eris
{
class Lobby;
/** 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.
*/
class Person
{
public:
/// create a person from sight
Person(Lobby *l, const Atlas::Objects::Entity::Account &acc);
/// update a person based on sight
void sight(const Atlas::Objects::Entity::Account &acc);
/** send a private message to a person */
void msg(const std::string &msg);
/// access the Atlas account ID for this person
const std::string& getAccount() const { return m_id; }
/// access the human-readable name for this person
const std::string& getName() const {return m_fullName;}
protected:
const std::string m_id; ///< the account ID
std::string m_fullName; ///< the name, i.e account.GetName()
Lobby* m_lobby; ///< the lobby owning this Person
};
}
#endif
|