2013-12-04 11:37:26 +01:00
|
|
|
/////////////////////////////////////////////////////////////////////
|
|
|
|
// Created by [Dennis Andersen] [2013]
|
|
|
|
/////////////////////////////////////////////////////////////////////
|
2013-12-12 09:33:59 +01:00
|
|
|
#include "DanBiasServerAPI.h"
|
|
|
|
#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
|