Eris
1.3.21
|
00001 #ifndef ERIS_PERSON_H 00002 #define ERIS_PERSON_H 00003 00004 #include <string> 00005 #include <Atlas/Objects/ObjectsFwd.h> 00006 00007 namespace Eris 00008 { 00009 00010 class Lobby; 00011 00015 class Person 00016 { 00017 public: 00019 Person(Lobby *l, const Atlas::Objects::Entity::Account &acc); 00020 00022 void sight(const Atlas::Objects::Entity::Account &acc); 00023 00025 void msg(const std::string &msg); 00026 00028 const std::string& getAccount() const { return m_id; } 00029 00031 const std::string& getName() const {return m_fullName;} 00032 00033 protected: 00034 const std::string m_id; 00035 std::string m_fullName; 00036 00037 Lobby* m_lobby; 00038 }; 00039 00040 } 00041 00042 #endif