41 lines
909 B
C++
41 lines
909 B
C++
#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();
|
|
|
|
bool Init( Oyster::Network::NetworkClient* nwClient );
|
|
ClientState Update( float deltaTime, InputClass* KeyInput );
|
|
bool Render();
|
|
bool Release();
|
|
void ChangeState( ClientState next );
|
|
void DataRecieved( ::Oyster::Network::NetEvent<::Oyster::Network::NetworkClient*, ::Oyster::Network::NetworkClient::ClientEventArgs> e );
|
|
|
|
private:
|
|
struct MyData;
|
|
::Utility::DynamicMemory::UniquePointer<MyData> privData;
|
|
};
|
|
}
|
|
}
|
|
#endif // ! DANBIAS_CLIENT_GAMECLIENTSTATE_H
|