1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-09 20:27:45 +00:00
sapphire/src/world/mainGameServer.cpp

17 lines
379 B
C++
Raw Normal View History

2017-08-08 13:53:47 +02:00
#include <iostream>
2018-11-20 21:32:13 +01:00
#include "ServerMgr.h"
2018-03-09 00:06:44 +01:00
#include <Framework.h>
2017-08-08 13:53:47 +02:00
using namespace Sapphire;
using namespace Sapphire::World;
2018-03-09 00:06:44 +01:00
2018-12-23 13:26:33 +01:00
int main( int32_t argc, char* argv[] )
2018-03-09 00:06:44 +01:00
{
auto pFramework = Sapphire::make_Framework();
auto pServer = std::make_shared< ServerMgr >( "world.ini", pFramework );
2018-12-23 13:26:33 +01:00
pFramework->set< ServerMgr >( pServer );
pServer->run( argc, argv );
return 0;
}