2014-02-13 13:30:14 +01:00
|
|
|
#ifndef DANBIAS_CLIENT_LOBBYADMINSTATE_H
|
|
|
|
#define DANBIAS_CLIENT_LOBBYADMINSTATE_H
|
|
|
|
|
|
|
|
#include "GameClientState.h"
|
|
|
|
#include "NetworkClient.h"
|
|
|
|
|
|
|
|
// Feature wishlist:
|
|
|
|
// create session lobby
|
|
|
|
// join session lobby
|
|
|
|
// set name
|
|
|
|
// set rules
|
|
|
|
// set map
|
|
|
|
// ready
|
|
|
|
// chat
|
|
|
|
// kick
|
|
|
|
|
|
|
|
namespace DanBias
|
|
|
|
{
|
|
|
|
namespace Client
|
|
|
|
{
|
|
|
|
class LobbyAdminState : public GameClientState
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
LobbyAdminState();
|
|
|
|
~LobbyAdminState();
|
|
|
|
|
2014-02-17 11:27:43 +01:00
|
|
|
bool Init( SharedStateContent &shared );
|
|
|
|
ClientState Update( float deltaTime );
|
2014-02-13 13:30:14 +01:00
|
|
|
bool Render();
|
|
|
|
bool Release();
|
|
|
|
void ChangeState( ClientState next );
|
2014-02-18 17:28:24 +01:00
|
|
|
const NetEvent & DataRecieved( const NetEvent &message );
|
|
|
|
|
2014-02-13 13:30:14 +01:00
|
|
|
private:
|
|
|
|
struct MyData;
|
|
|
|
::Utility::DynamicMemory::UniquePointer<MyData> privData;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif // ! DANBIAS_CLIENT_GAMECLIENTSTATE_H
|