1 #ifndef ERIS_SPAWNPOINT_H_
2 #define ERIS_SPAWNPOINT_H_
13 typedef std::vector<CharacterType> CharacterTypeStore;
39 SpawnPoint(
const std::string& name,
const CharacterTypeStore& availableCharacterTypes,
const std::string& description);
56 const std::string&
getName()
const;
69 const std::string m_name;
74 CharacterTypeStore m_availableCharacterTypes;
79 const std::string m_description;
SpawnPoint(const std::string &name, const CharacterTypeStore &availableCharacterTypes, const std::string &description)
Ctor.
Definition: SpawnPoint.cpp:7
const std::string & getName() const
Gets the name of this spawn point.
Definition: SpawnPoint.cpp:24
Represents a possible spawn point as described by the server. When a new character is created on the ...
Definition: SpawnPoint.h:30
Definition: Account.cpp:35
const CharacterTypeStore & getAvailableCharacterTypes() const
Gets a list of available character types for this spawn point.
Definition: SpawnPoint.cpp:19
~SpawnPoint()
Dtor.
Definition: SpawnPoint.cpp:15
const std::string & getDescription() const
Gets a description of this spawn point.
Definition: SpawnPoint.cpp:29