eris  1.4.0
A WorldForge client library.
SpawnPoint.h
1 #ifndef ERIS_SPAWNPOINT_H_
2 #define ERIS_SPAWNPOINT_H_
3 
4 #include <vector>
5 #include <string>
6 
7 namespace Eris {
8 
15 struct CharacterType {
16 
20  std::string name;
21 
25  std::string description;
26 };
27 
28 struct SpawnProperty {
29  enum class Type {
30  STRING
31  };
32  std::string name;
36  const std::string label;
37  std::string description;
38  Type type;
39  std::vector<Atlas::Message::Element> options;
40 };
56 struct SpawnPoint {
57 
58  std::string id;
59 
63  const std::string name;
64 
68  const std::string description;
69 
70  std::vector<SpawnProperty> properties;
71 
72 };
73 
74 }
75 
76 #endif /* ERIS_SPAWNPOINT_H_ */
const std::string label
Definition: SpawnPoint.h:36
std::string description
A description of the character type.
Definition: SpawnPoint.h:25
const std::string name
The name of this spawn point.
Definition: SpawnPoint.h:63
Definition: Account.cpp:33
const std::string description
A description of this spawn point.
Definition: SpawnPoint.h:68
Represents a possible spawn point as described by the server. When a new character is created on the ...
Definition: SpawnPoint.h:56
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.
Definition: SpawnPoint.h:15
std::string name
The name of the character type.
Definition: SpawnPoint.h:20