Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
server.cpp File Reference
#include "server.h"
#include <iostream>
#include <queue>
#include <algorithm>
#include "irr_v2d.h"
#include "network/connection.h"
#include "network/networkprotocol.h"
#include "network/serveropcodes.h"
#include "server/ban.h"
#include "environment.h"
#include "servermap.h"
#include "threading/mutex_auto_lock.h"
#include "constants.h"
#include "voxel.h"
#include "config.h"
#include "version.h"
#include "filesys.h"
#include "mapblock.h"
#include "server/serveractiveobject.h"
#include "serialization.h"
#include "settings.h"
#include "profiler.h"
#include "log.h"
#include "scripting_server.h"
#include "nodedef.h"
#include "itemdef.h"
#include "craftdef.h"
#include "emerge.h"
#include "mapgen/mapgen.h"
#include "mapgen/mg_biome.h"
#include "content_mapnode.h"
#include "content_nodemeta.h"
#include "content/mods.h"
#include "modchannels.h"
#include "server/serverlist.h"
#include "util/string.h"
#include "server/rollback.h"
#include "util/serialize.h"
#include "util/thread.h"
#include "defaultsettings.h"
#include "server/mods.h"
#include "util/base64.h"
#include "util/sha1.h"
#include "util/hex.h"
#include "database/database.h"
#include "chatmessage.h"
#include "chat_interface.h"
#include "remoteplayer.h"
#include "server/player_sao.h"
#include "server/serverinventorymgr.h"
#include "translation.h"
#include "database/database-sqlite3.h"
#include "database/database-files.h"
#include "database/database-dummy.h"
#include "gameparams.h"
#include "particles.h"
#include "gettext.h"
#include "util/tracy_wrapper.h"

Classes

class  ClientNotFoundException
 
class  ServerThread
 

Functions

void dedicated_server_loop (Server &server, bool &kill)
 

Function Documentation

◆ dedicated_server_loop()

void dedicated_server_loop ( Server & server,
bool & kill )

References ServerList::AA_DELETE, Profiler::clear(), g_profiler, g_settings, Settings::getBool(), Settings::getFloat(), infostream, Profiler::print(), ServerList::sendAnnounce(), sleep_ms, IntervalLimiter::step(), and verbosestream.

Referenced by run_dedicated_server().

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