mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-09 12:17:45 +00:00
16 lines
379 B
C++
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;
|
|
}
|