#include "irrlichttypes_bloated.h"
#include "inventory.h"
#include "constants.h"
#include "util/basic_macros.h"
#include "util/string.h"
#include <mutex>
#include <functional>
#include <string>
Go to the source code of this file.
Classes | |
struct | PlayerFovSpec |
struct | PlayerControl |
struct | PlayerPhysicsOverride |
class | Player |
Macros | |
#define | PLAYERNAME_SIZE 20 |
#define | PLAYERNAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_" |
#define | PLAYERNAME_ALLOWED_CHARS_USER_EXPL "'a' to 'z', 'A' to 'Z', '0' to '9', '-', '_'" |
Functions | |
bool | is_valid_player_name (std::string_view name) |
#define PLAYERNAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_" |
Referenced by Server::handleCommand_Init(), and is_valid_player_name().
#define PLAYERNAME_ALLOWED_CHARS_USER_EXPL "'a' to 'z', 'A' to 'Z', '0' to '9', '-', '_'" |
Referenced by run_dedicated_server().
#define PLAYERNAME_SIZE 20 |
Referenced by Server::handleCommand_Init(), is_valid_player_name(), and ClientLauncher::launch_game().
bool is_valid_player_name | ( | std::string_view | name | ) |
References PLAYERNAME_ALLOWED_CHARS, PLAYERNAME_SIZE, and string_allowed().
Referenced by ModApiUtil::Initialize(), ModApiUtil::l_is_valid_player_name(), ObjectRef::l_set_observers(), and run_dedicated_server().