mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-27 10:47:02 +02:00
apm:p
This commit is contained in:
parent
aba37aa510
commit
bb075c1331
1 changed files with 4 additions and 6 deletions
|
|
@ -18,12 +18,10 @@ void LoopProcess(Core::System& system) {
|
||||||
auto module = std::make_shared<Module>();
|
auto module = std::make_shared<Module>();
|
||||||
auto server_manager = std::make_unique<ServerManager>(system);
|
auto server_manager = std::make_unique<ServerManager>(system);
|
||||||
|
|
||||||
server_manager->RegisterNamedService(
|
server_manager->RegisterNamedService("apm", std::make_shared<APM>(system, module, system.GetAPMController(), "apm"));
|
||||||
"apm", std::make_shared<APM>(system, module, system.GetAPMController(), "apm"));
|
server_manager->RegisterNamedService("apm:p", std::make_shared<APM>(system, module, system.GetAPMController(), "apm:p"));
|
||||||
server_manager->RegisterNamedService(
|
server_manager->RegisterNamedService("apm:am", std::make_shared<APM>(system, module, system.GetAPMController(), "apm:am"));
|
||||||
"apm:am", std::make_shared<APM>(system, module, system.GetAPMController(), "apm:am"));
|
server_manager->RegisterNamedService("apm:sys", std::make_shared<APM_Sys>(system, system.GetAPMController()));
|
||||||
server_manager->RegisterNamedService(
|
|
||||||
"apm:sys", std::make_shared<APM_Sys>(system, system.GetAPMController()));
|
|
||||||
|
|
||||||
ServerManager::RunServer(std::move(server_manager));
|
ServerManager::RunServer(std::move(server_manager));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue