TrinityCore
Main.cpp File Reference
#include "Common.h"
#include "AppenderDB.h"
#include "AsyncAcceptor.h"
#include "AuthenticationPackets.h"
#include "Banner.h"
#include "BattlegroundMgr.h"
#include "BigNumber.h"
#include "CliRunnable.h"
#include "Configuration/Config.h"
#include "DatabaseEnv.h"
#include "DatabaseLoader.h"
#include "DeadlineTimer.h"
#include "GitRevision.h"
#include "InstanceLockMgr.h"
#include "IoContext.h"
#include "IpNetwork.h"
#include "Locales.h"
#include "MapManager.h"
#include "Metric.h"
#include "MySQLThreading.h"
#include "OpenSSLCrypto.h"
#include "OutdoorPvP/OutdoorPvPMgr.h"
#include "ProcessPriority.h"
#include "RASession.h"
#include "RealmList.h"
#include "ScriptLoader.h"
#include "ScriptMgr.h"
#include "ScriptReloadMgr.h"
#include "SecretMgr.h"
#include "TCSoap.h"
#include "TerrainMgr.h"
#include "ThreadPool.h"
#include "World.h"
#include "WorldSocket.h"
#include "WorldSocketMgr.h"
#include "Util.h"
#include <openssl/opensslv.h>
#include <openssl/crypto.h>
#include <boost/asio/signal_set.hpp>
#include <boost/dll/runtime_symbol_info.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/program_options.hpp>
#include <google/protobuf/stubs/common.h>
#include <iostream>
#include <csignal>
#include "Hacks/boost_program_options_with_filesystem_path.h"
+ Include dependency graph for Main.cpp:

Go to the source code of this file.

Classes

class  FreezeDetector
 

Macros

#define _TRINITY_CORE_CONFIG   "worldserver.conf"
 
#define _TRINITY_CORE_CONFIG_DIR   "worldserver.conf.d"
 

Functions

void SignalHandler (boost::system::error_code const &error, int signalNumber)
 
AsyncAcceptorStartRaSocketAcceptor (Trinity::Asio::IoContext &ioContext)
 
bool StartDB ()
 Initialize connection to the databases. More...
 
void StopDB ()
 
void WorldUpdateLoop ()
 
void ClearOnlineAccounts ()
 Clear 'online' status for all accounts with characters in this realm. More...
 
void ShutdownCLIThread (std::thread *cliThread)
 
bool LoadRealmInfo ()
 
variables_map GetConsoleArguments (int argc, char **argv, fs::path &configFile, fs::path &configDir, std::string &winServiceAction)
 
int main (int argc, char **argv)
 Launch the Trinity server. More...