TrinityCore
|
Files | |
file | CliRunnable.cpp |
file | CliRunnable.h |
file | Main.cpp |
Classes | |
class | FreezeDetector |
Macros | |
#define | _TRINITY_CORE_CONFIG "worldserver.conf" |
#define | _TRINITY_CORE_CONFIG_DIR "worldserver.conf.d" |
Functions | |
static void | PrintCliPrefix () |
void | utf8print (void *, std::string_view str) |
void | commandFinished (void *, bool) |
void | CliThread () |
Thread start More... | |
void | SignalHandler (boost::system::error_code const &error, int signalNumber) |
AsyncAcceptor * | StartRaSocketAcceptor (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... | |
static void | FreezeDetector::Handler (std::weak_ptr< FreezeDetector > freezeDetectorRef, boost::system::error_code const &error) |
Variables | |
static constexpr char | CLI_PREFIX [] = "TC> " |
void ClearOnlineAccounts | ( | ) |
void CliThread | ( | ) |
Thread start
Definition at line 108 of file CliRunnable.cpp.
void commandFinished | ( | void * | , |
bool | |||
) |
Definition at line 86 of file CliRunnable.cpp.
variables_map GetConsoleArguments | ( | int | argc, |
char ** | argv, | ||
fs::path & | configFile, | ||
fs::path & | configDir, | ||
std::string & | winServiceAction | ||
) |
|
static |
bool LoadRealmInfo | ( | ) |
int main | ( | int | argc, |
char ** | argv | ||
) |
|
inlinestatic |
void ShutdownCLIThread | ( | std::thread * | cliThread | ) |
void SignalHandler | ( | boost::system::error_code const & | error, |
int | signalNumber | ||
) |
bool StartDB | ( | ) |
AsyncAcceptor * StartRaSocketAcceptor | ( | Trinity::Asio::IoContext & | ioContext | ) |
void utf8print | ( | void * | , |
std::string_view | str | ||
) |
Definition at line 74 of file CliRunnable.cpp.
void WorldUpdateLoop | ( | ) |
Definition at line 519 of file Main.cpp.
|
staticconstexpr |
Definition at line 36 of file CliRunnable.cpp.