Eris
1.4.0
|
An available character type which a client can create a character from on the server. More...
#include <CharacterType.h>
Public Member Functions | |
CharacterType (const std::string &name, const std::string &description) | |
Ctor. More... | |
const std::string & | getName () const |
Accessor for the name of the character type. More... | |
const std::string & | getDescription () const |
Accessor for the description of the character type. More... | |
An available character type which a client can create a character from on the server.
This is presented to the client when first connected to the server and allows a user to select what kind of character to create in the world.
Eris::CharacterType::CharacterType | ( | const std::string & | name, |
const std::string & | description | ||
) |
Ctor.
name | The name of the character type. |
description | A description to show the user. |
const std::string & Eris::CharacterType::getDescription | ( | ) | const |
Accessor for the description of the character type.
const std::string & Eris::CharacterType::getName | ( | ) | const |
Accessor for the name of the character type.