⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rawpacket.h

📁 这是整套横扫千军3D版游戏的源码
💻 H
字号:
#ifndef RAWPACKET
#define RAWPACKET

#include <boost/noncopyable.hpp>

namespace netcode
{

/**
@brief simple structure to hold some data
*/
class RawPacket : public boost::noncopyable
{
public:
	/**
	@brief create a new packet and store data inside
	@param data the data to store
	@param length the length of the data (is save even if its 0)
	*/
	RawPacket(const unsigned char* const data, const unsigned length);
	
	/**
	@brief Free the memory
	*/
	~RawPacket();
	
	unsigned char* data;
	const unsigned length;
private:
	
};

} // namespace netcode

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -