Cuberite
A lightweight, fast and extensible game server for Minecraft
Functions | Variables
main.cpp File Reference
#include "Globals.h"
#include "Root.h"
#include "tclap/CmdLine.h"
#include <exception>
#include <csignal>
#include <stdlib.h>
#include "OSSupport/NetworkSingleton.h"
#include "BuildInfo.h"
#include "Logger.h"
#include "MemorySettingsRepository.h"
Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 
static void NonCtrlHandler (int a_Signal)
 
static std::unique_ptr< cMemorySettingsRepositoryParseArguments (int argc, char **argv)
 
static void UniversalMain (std::unique_ptr< cSettingsRepositoryInterface > a_OverridesRepo)
 

Variables

bool g_ShouldLogCommIn
 If set to true, the protocols will log each player's incoming (C->S) communication to a per-connection logfile. More...
 
bool g_ShouldLogCommOut
 If set to true, the protocols will log each player's outgoing (S->C) communication to a per-connection logfile. More...
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 469 of file main.cpp.

static void NonCtrlHandler ( int  a_Signal)
static

Definition at line 83 of file main.cpp.

static std::unique_ptr<cMemorySettingsRepository> ParseArguments ( int  argc,
char **  argv 
)
static

Definition at line 377 of file main.cpp.

static void UniversalMain ( std::unique_ptr< cSettingsRepositoryInterface a_OverridesRepo)
static

Definition at line 225 of file main.cpp.

Variable Documentation

bool g_ShouldLogCommIn

If set to true, the protocols will log each player's incoming (C->S) communication to a per-connection logfile.

Definition at line 52 of file main.cpp.

bool g_ShouldLogCommOut

If set to true, the protocols will log each player's outgoing (S->C) communication to a per-connection logfile.

Definition at line 55 of file main.cpp.