#pragma once

#include "UpDownClient.h"
#include "KnownFile.h"

// CUploadedClient command target

class CUploadedClient : public CObject
{

public:
	CString m_Name;
	CString m_SoftVersion;
	CString m_ModString;
	float   m_Rating;
	DWORD   m_StartTime;
	DWORD   m_Duration;
	uint32  m_Uploaded;
	uint32  m_TotalUploaded;
	uint32  m_TotalDownloaded;

	uint32  m_WaitedTime;
#ifdef CB_MOD_RRR_ENABLED
	uint8   m_RRR;
#endif
	const CKnownFile *m_file;

public:
	CUploadedClient(CUpDownClient *upclient, const CKnownFile *file);
	virtual ~CUploadedClient();

#ifdef CB_MOD_RRR_ENABLED
	CString CUploadedClient::GetRRRString() const;
#endif
};


