#ifndef DANBIASSERVER_NETWORK_SESSION_H #define DANBIASSERVER_NETWORK_SESSION_H #include "Utilities.h" #include "ClientObject.h" #include #include namespace DanBias { class NetworkSession { public: NetworkSession(); ~NetworkSession(); void AttachClient(Utility::DynamicMemory::SmartPointer client); void DetachClient(Utility::DynamicMemory::SmartPointer client); void DetachClient(short ID); void Kick(Utility::DynamicMemory::SmartPointer client); void Kick(); void Send(Network::CustomNetProtocol& protocol); void Send(Network::CustomNetProtocol& protocol, int ID); //TODO: Do more lobby features protected: Oyster::Network::NetworkClient* operator[](int Identification); private: std::vector> clients; }; }//End namespace DanBias #endif // !DANBIASSERVER_NETWORK_SESSION_H