Eris  1.4.0
Public Member Functions | List of all members
Eris::CharacterType Class Reference

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...
 

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..nosp@m.hjor.nosp@m.tsber.nosp@m.g@gm.nosp@m.ail.c.nosp@m.om

Constructor & Destructor Documentation

◆ CharacterType()

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

◆ getDescription()

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

Accessor for the description of the character type.

Returns
A description of the character type.

◆ getName()

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: