Eris 1.3.16
Public Member Functions

Eris::CharacterType Class Reference

An available character type which a client can create a character from on the server. More...

#include <CharacterType.h>

List of all members.

Public Member Functions

 CharacterType (const std::string &name, const std::string &description)
 Ctor.
virtual ~CharacterType ()
 Dtor.
const std::string & getName () const
 Accessor for the name of the character type.
const std::string & getDescription () const
 Accessor for the description of the character type.

Detailed Description

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.

Author:
Erik Hjortsberg <erik.hjortsberg@gmail.com>

Constructor & Destructor Documentation

Eris::CharacterType::CharacterType ( const std::string &  name,
const std::string &  description 
)

Ctor.

Parameters:
nameThe name of the character type.
descriptionA description to show the user.

Member Function Documentation

const std::string & Eris::CharacterType::getDescription ( ) const

Accessor for the description of the character type.

Returns:
A description of the character type.
const std::string & Eris::CharacterType::getName ( ) const

Accessor for the name of the character type.

Returns:
The name of the character type.

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