Danbias/Code/Game/DanBiasServer/ServerObjects/Lobby/GameLobby.h

24 lines
589 B
C
Raw Normal View History

2013-12-13 23:47:16 +01:00
#ifndef DANBIASSERVER_GAMELOBBY_H
#define DANBIASSERVER_GAMELOBBY_H
2013-12-12 09:33:59 +01:00
#include "..\NetworkSession.h"
namespace DanBias
{
class GameLobby :public NetworkSession
{
public:
2013-12-19 12:32:23 +01:00
GameLobby(Utility::DynamicMemory::SmartPointer<ClientObject> owner);
virtual~GameLobby();
2013-12-12 09:33:59 +01:00
void Release();
2013-12-19 12:32:23 +01:00
void Join(Utility::DynamicMemory::SmartPointer<ClientObject> client);
2013-12-12 09:33:59 +01:00
2013-12-19 12:32:23 +01:00
private:
void AttachClient(Utility::DynamicMemory::SmartPointer<ClientObject> client, Oyster::IPostBox<DanBias::NetworkSession::NetEvent> *box = 0) override;
2013-12-12 09:33:59 +01:00
};
}//End namespace DanBias
#endif // !DANBIASSERVER_GAME_LOBBY_H