mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-10 12:47:44 +00:00
22 lines
421 B
C++
22 lines
421 B
C++
#include <iostream>
|
|
|
|
#include "WorldServer.h"
|
|
|
|
#include <Util/CrashHandler.h>
|
|
#include <Service.h>
|
|
|
|
using namespace Sapphire;
|
|
using namespace Sapphire::World;
|
|
|
|
[[maybe_unused]]
|
|
Common::Util::CrashHandler crashHandler;
|
|
|
|
int main( int32_t argc, char* argv[] )
|
|
{
|
|
auto pServer = std::make_shared< WorldServer >( "world.ini" );
|
|
|
|
Common::Service< WorldServer >::set( pServer );
|
|
|
|
pServer->run( argc, argv );
|
|
return 0;
|
|
}
|