1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-09 12:17:45 +00:00
sapphire/src/world/mainGameServer.cpp
2019-01-07 23:00:09 +11:00

16 lines
379 B
C++

#include <iostream>
#include "ServerMgr.h"
#include <Framework.h>
using namespace Sapphire;
using namespace Sapphire::World;
int main( int32_t argc, char* argv[] )
{
auto pFramework = Sapphire::make_Framework();
auto pServer = std::make_shared< ServerMgr >( "world.ini", pFramework );
pFramework->set< ServerMgr >( pServer );
pServer->run( argc, argv );
return 0;
}