Eris  1.4.0
CharacterType.h
1 #ifndef ERIS_CHARACTERTYPE_H_
2 #define ERIS_CHARACTERTYPE_H_
3 
4 #include <string>
5 
6 namespace Eris
7 {
8 
16 {
17 public:
23  CharacterType(const std::string& name, const std::string& description);
24 
29  const std::string& getName() const;
30 
35  const std::string& getDescription() const;
36 
37 private:
38 
42  std::string m_name;
43 
47  std::string m_description;
48 };
49 
50 }
51 
52 #endif /* ERIS_CHARACTERTYPE_H_ */
CharacterType(const std::string &name, const std::string &description)
Ctor.
Definition: CharacterType.cpp:28
const std::string & getName() const
Accessor for the name of the character type.
Definition: CharacterType.cpp:33
Every Eris class and type lives inside the Eris namespace; certain utility functions live in the Util...
Definition: Account.cpp:34
const std::string & getDescription() const
Accessor for the description of the character type.
Definition: CharacterType.cpp:38
An available character type which a client can create a character from on the server.
Definition: CharacterType.h:15