mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
* [Database] Implement native database updates in server * Cleanup * Delete db_update_manifest.txt * Bots updates * Final tweaks * Revert manifest * Tweaks * Remove code from eqemu_server.pl * Update database_update.cpp * Add user prompt update skipping with timeouts * Add termcolor IS_TTY is check * Update database_conversions.cpp * Remove large migrations * Push * fix headers. * Remove last of non-bot large migrations * Update database_update_manifest.cpp * More purging * Tweaks * Bot migrations * More work * Tweaks * Implement multi-statement query execution only for migrations * Add CLI database:updates * Add bootstrap commands * Upload bootstrap sql's * Update bot_tables_bootstrap.sql * Update bot_tables_bootstrap.sql * Add mercs:bootstrap and bots:bootstrap * Update bot_tables_bootstrap.sql * Update database.cpp * Update bot_tables_bootstrap.sql * More cleanup * Add mercs:disable and bots:disable * Update eqemu_server.pl * Update eqemu_server.pl * Update eqemu_server.pl * Test cases * Update eqemu_server.pl * Delete 2023_05_08_character_tribute_primary_key.sql * Post rebase fixes * Post rebase tweaks * Delete errant files * Rebase files from master * More adjustments * Delete files no longer used * Add missing migrations * bots:bootstrap is now bots:enable --------- Co-authored-by: Aeadoin <109764533+Aeadoin@users.noreply.github.com>
32 lines
2.0 KiB
C++
32 lines
2.0 KiB
C++
#include "iostream"
|
|
#include "../common/cli/eqemu_command_handler.h"
|
|
|
|
#ifndef EQEMU_WORLD_SERVER_COMMAND_HANDLER_H
|
|
#define EQEMU_WORLD_SERVER_COMMAND_HANDLER_H
|
|
|
|
class WorldserverCLI {
|
|
public:
|
|
static void CommandHandler(int argc, char **argv);
|
|
static void BotsEnable(int argc, char **argv, argh::parser &cmd, std::string &description);
|
|
static void BotsDisable(int argc, char **argv, argh::parser &cmd, std::string &description);
|
|
static void MercsEnable(int argc, char **argv, argh::parser &cmd, std::string &description);
|
|
static void MercsDisable(int argc, char **argv, argh::parser &cmd, std::string &description);
|
|
static void Version(int argc, char **argv, argh::parser &cmd, std::string &description);
|
|
static void CopyCharacter(int argc, char **argv, argh::parser &cmd, std::string &description);
|
|
static void DatabaseVersion(int argc, char **argv, argh::parser &cmd, std::string &description);
|
|
static void DatabaseSetAccountStatus(int argc, char **argv, argh::parser &cmd, std::string &description);
|
|
static void DatabaseGetSchema(int argc, char **argv, argh::parser &cmd, std::string &description);
|
|
static void DatabaseDump(int argc, char **argv, argh::parser &cmd, std::string &description);
|
|
static void DatabaseUpdates(int argc, char **argv, argh::parser &cmd, std::string &description);
|
|
static void TestCommand(int argc, char **argv, argh::parser &cmd, std::string &description);
|
|
static void TestColors(int argc, char **argv, argh::parser &cmd, std::string &description);
|
|
static void ExpansionTestCommand(int argc, char **argv, argh::parser &cmd, std::string &description);
|
|
static void TestRepository(int argc, char **argv, argh::parser &cmd, std::string &description);
|
|
static void TestRepository2(int argc, char **argv, argh::parser &cmd, std::string &description);
|
|
static void TestDatabaseConcurrency(int argc, char **argv, argh::parser &cmd, std::string &description);
|
|
static void TestStringBenchmarkCommand(int argc, char **argv, argh::parser &cmd, std::string &description);
|
|
};
|
|
|
|
|
|
#endif //EQEMU_WORLD_SERVER_COMMAND_HANDLER_H
|