///////////////////////////////////////////////////////////////////////////////
/// @file deNetResource.hpp
///
/// @brief 
///
/// @author trajar
///
/// This file is the intellectual property of Novus Delta, LLC.. Usage of the
/// contents of this file is subject to the Destiny3D Member License which
/// can be found at http://www.destiny3d.com.  Any other usage is prohibited.
///
/// This file is distributed "AS IS" without warranty of any kind.  Novus
/// Delta, LLC. does not guarantee the fitness of the contents of this file
/// for any particular purpose.
///
/// Copyright (C) 2001-2003 Novus Delta, LLC. All Rights Reserved.
///
/// <hr>
///                                 Change History
/// <hr>
///
/// @date Jun 2002
/// @author trajar
/// @remarks Creation
///
///////////////////////////////////////////////////////////////////////////////

#ifndef		_DENETRESOURCE_HPP
#define		_DENETRESOURCE_HPP


#ifndef		_DENET_HPP
 #include	"deNet.hpp"
#endif

class DENET_API deNetResource
{
public:

	deNetResource(void);
	virtual ~deNetResource(void);

	void			Destroy( DWORD dwFlags = NULL );
	void			SetData( void * pData, DWORD dwSize );
	DWORD			GetDataSize(void)						const { return m_DataSize; }
	DWORD			GetKey(void)							const { return m_Key; }
	const void *	GetData(void)							const { return m_Data; }
	

private:

	DWORD			m_Key;
	BYTE *			m_Data;
	DWORD			m_DataSize;
};

#endif