Beginning of zone copy work

This commit is contained in:
Akkadius
2024-10-11 04:10:00 -05:00
parent 448a33a60c
commit 1c09a25261
6 changed files with 246 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#include "../../common/eqemu_logsys_log_aliases.h"
#include "../../common/zone_copy.h"
#include "../../common/database.h"
void WorldserverCLI::ZoneCopyCmd(int argc, char **argv, argh::parser &cmd, std::string &description)
{
description = "Copies a character into a destination account";
auto c = ZoneCopier();
c.SetDatabase(&database);
c.SetContentDatabase(&content_db);
c.SetSourceShortName("soldungb");
c.SetSourceVersion(0);
c.SetDestinationVersion(1);
c.ZoneCopy();
}