Full names in use in a world, so that no two players share one.
More...
#include <world_generation.h>
|
| bool | isAvailable (const std::string &full_name) const |
| |
| void | claim (const std::string &full_name) |
| |
| void | clear () |
| |
| std::size_t | size () const |
| |
|
| std::unordered_set< std::string > | names |
| |
Full names in use in a world, so that no two players share one.
◆ claim()
| void NameRegistry::claim |
( |
const std::string & |
full_name | ) |
|
◆ clear()
| void NameRegistry::clear |
( |
| ) |
|
|
inline |
◆ isAvailable()
| bool NameRegistry::isAvailable |
( |
const std::string & |
full_name | ) |
const |
Not taken yet and not a reserved real name.
◆ size()
| std::size_t NameRegistry::size |
( |
| ) |
const |
|
inline |
◆ names
| std::unordered_set<std::string> NameRegistry::names |
|
private |
The documentation for this class was generated from the following files: