[World] World Bootup Consolidation (#2294)

This commit is contained in:
Chris Miles
2022-07-14 02:39:01 -05:00
committed by GitHub
parent fb2df0e570
commit c8b3ca53fe
7 changed files with 756 additions and 694 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef EQEMU_WORLD_BOOT_H
#define EQEMU_WORLD_BOOT_H
#include <string>
#include "../common/types.h"
class WorldBoot {
public:
static void GMSayHookCallBackProcessWorld(uint16 log_category, std::string message);
static bool HandleCommandInput(int argc, char **argv);
static bool LoadServerConfig();
static bool LoadDatabaseConnections();
static void CheckForServerScript(bool force_download = false);
static void CheckForXMLConfigUpgrade();
static void RegisterLoginservers();
static bool DatabaseLoadRoutines(int argc, char **argv);
static void CheckForPossibleConfigurationIssues();
};
#endif //EQEMU_WORLD_BOOT_H