#ifndef DANBIASSERVER_CLIENT_OBJECT_H #define DANBIASSERVER_CLIENT_OBJECT_H #include "NetworkSession.h" #include "NetworkClient.h" #include #include namespace DanBias { class ClientObject :public Oyster::Network::ProtocolRecieverObject { public: ClientObject(Oyster::Network::NetworkClient* client); ~ClientObject(); void SetPostbox(Oyster::IPostBox* box); GameLogic::Player* Logic_Object(); Oyster::Network::NetworkClient* NetClient_Object(); /** This method is NOT threadsafe. */ virtual void ProtocolRecievedCallback(Oyster::Network::CustomNetProtocol& protocol) override; private: GameLogic::Player logicPlayer; Utility::DynamicMemory::SmartPointer client; Oyster::IPostBox* box; }; }//End namespace DanBias #endif // !DANBIASSERVER_CLIENT_OBJECT_H