mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-21 10:38:20 +00:00
Beginning of zone copy work
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user