Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
player.cpp File Reference
#include "player.h"
#include <cmath>
#include "threading/mutex_auto_lock.h"
#include "util/numeric.h"
#include "hud.h"
#include "constants.h"
#include "gamedef.h"
#include "settings.h"
#include "log.h"
#include "porting.h"
#include <tuple>
+ Include dependency graph for player.cpp:

Functions

bool is_valid_player_name (std::string_view name)
 
static auto tie (const PlayerPhysicsOverride &o)
 

Function Documentation

◆ is_valid_player_name()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tie()