Eris
1.4.0
|
Represents a possible spawn point as described by the server. When a new character is created on the server the user can select which "spawn point" the new character should spawn in. Each spawn point in turn will present a list of possible character types to select. More...
#include <SpawnPoint.h>
Public Member Functions | |
SpawnPoint (const std::string &name, const CharacterTypeStore &availableCharacterTypes, const std::string &description) | |
Ctor. More... | |
~SpawnPoint () | |
Dtor. | |
const CharacterTypeStore & | getAvailableCharacterTypes () const |
Gets a list of available character types for this spawn point. More... | |
const std::string & | getName () const |
Gets the name of this spawn point. More... | |
const std::string & | getDescription () const |
Gets a description of this spawn point. More... | |
Represents a possible spawn point as described by the server. When a new character is created on the server the user can select which "spawn point" the new character should spawn in. Each spawn point in turn will present a list of possible character types to select.
Eris::SpawnPoint::SpawnPoint | ( | const std::string & | name, |
const CharacterTypeStore & | availableCharacterTypes, | ||
const std::string & | description | ||
) |
Ctor.
name | The name of the spawn point. |
availableCharacterTypes | A list of available character types. |
description | A description of the spawn point. |
const CharacterTypeStore & Eris::SpawnPoint::getAvailableCharacterTypes | ( | ) | const |
Gets a list of available character types for this spawn point.
const std::string & Eris::SpawnPoint::getDescription | ( | ) | const |
Gets a description of this spawn point.
const std::string & Eris::SpawnPoint::getName | ( | ) | const |
Gets the name of this spawn point.