Minetest 5.9.0-dev
 
Loading...
Searching...
No Matches
server.h File Reference
#include "irr_v3d.h"
#include "map.h"
#include "hud.h"
#include "gamedef.h"
#include "serialization.h"
#include "content/mods.h"
#include "inventorymanager.h"
#include "content/subgames.h"
#include "network/peerhandler.h"
#include "network/address.h"
#include "util/numeric.h"
#include "util/thread.h"
#include "util/basic_macros.h"
#include "util/metricsbackend.h"
#include "serverenvironment.h"
#include "server/clientiface.h"
#include "chatmessage.h"
#include "sound.h"
#include "translation.h"
#include <atomic>
#include <string>
#include <list>
#include <map>
#include <vector>
#include <unordered_set>
#include <optional>
#include <string_view>
+ Include dependency graph for server.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MediaInfo
 
struct  ServerPlayingSound
 
struct  MinimapMode
 
struct  ClientInfo
 
class  Server
 
struct  Server::DynamicMediaArgs
 
struct  Server::StepSettings
 
struct  Server::ShutdownState
 
struct  Server::PendingDynamicMediaCallback
 
struct  Server::SBCHash
 

Enumerations

enum  ClientDeletionReason { CDR_LEAVE , CDR_TIMEOUT , CDR_DENY }
 

Functions

void dedicated_server_loop (Server &server, bool &kill)
 

Enumeration Type Documentation

◆ ClientDeletionReason

Enumerator
CDR_LEAVE 
CDR_TIMEOUT 
CDR_DENY 

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: