Luanti 5.16.0-dev
Loading...
Searching...
No Matches
PlayerSettings Struct Reference

#include <localplayer.h>

Public Member Functions

void readGlobalSettings ()
void registerSettingsCallback ()
void deregisterSettingsCallback ()

Public Attributes

bool free_move = false
bool pitch_move = false
bool fast_move = false
bool continuous_forward = false
bool always_fly_fast = false
bool aux1_descends = false
bool noclip = false
bool autojump = false

Static Private Member Functions

static void settingsChangedCallback (const std::string &name, void *data)

Member Function Documentation

◆ deregisterSettingsCallback()

void PlayerSettings::deregisterSettingsCallback ( )

References g_settings.

◆ readGlobalSettings()

void PlayerSettings::readGlobalSettings ( )

◆ registerSettingsCallback()

void PlayerSettings::registerSettingsCallback ( )

References g_settings, PlayerSettings_names, and settingsChangedCallback().

Here is the call graph for this function:

◆ settingsChangedCallback()

void PlayerSettings::settingsChangedCallback ( const std::string & name,
void * data )
staticprivate

Referenced by registerSettingsCallback().

Here is the caller graph for this function:

Member Data Documentation

◆ always_fly_fast

bool PlayerSettings::always_fly_fast = false

◆ autojump

bool PlayerSettings::autojump = false

◆ aux1_descends

bool PlayerSettings::aux1_descends = false

◆ continuous_forward

bool PlayerSettings::continuous_forward = false

◆ fast_move

bool PlayerSettings::fast_move = false

◆ free_move

bool PlayerSettings::free_move = false

◆ noclip

bool PlayerSettings::noclip = false

◆ pitch_move

bool PlayerSettings::pitch_move = false

The documentation for this struct was generated from the following files: