Danbias/Code/Game/DanBiasServer/DanBiasServerAPI.cpp

28 lines
592 B
C++
Raw Normal View History

2013-12-04 11:37:26 +01:00
/////////////////////////////////////////////////////////////////////
// Created by [Dennis Andersen] [2013]
/////////////////////////////////////////////////////////////////////
2013-12-12 09:33:59 +01:00
#include "DanBiasServerAPI.h"
2014-01-07 10:26:09 +01:00
#include "GameServer.h"
2013-12-04 11:37:26 +01:00
namespace DanBias
{
#pragma region Server Data
2013-12-12 09:33:59 +01:00
static GameServer server;
2013-12-04 11:37:26 +01:00
#pragma endregion
2013-12-12 09:33:59 +01:00
DanBiasServerReturn DanBiasServerAPI::Initiate()
2013-12-04 11:37:26 +01:00
{
2013-12-12 09:33:59 +01:00
return server.Create();
2013-12-04 11:37:26 +01:00
}
2013-12-12 09:33:59 +01:00
DanBiasServerReturn DanBiasServerAPI::Run()
2013-12-04 11:37:26 +01:00
{
return server.Run();
}
2013-12-12 09:33:59 +01:00
DanBiasServerReturn DanBiasServerAPI::Release()
2013-12-04 11:37:26 +01:00
{
return server.Release();
}
} //End namspace DanBias