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

📄 extrainfo.h

📁 天之炼狱1服务器端源文件游戏服务端不完整
💻 H
字号:
//////////////////////////////////////////////////////////////////////// // Filename    : ExtraInfo.h // Written By  : elca@ewestsoft.com// Description : 牢亥配府 酒捞袍狼 沥焊甸// //////////////////////////////////////////////////////////////////////#ifndef __EXTRA_INFO_H__#define __EXTRA_INFO_H__// include files#include "Types.h"#include "Exception.h"#include "ExtraSlotInfo.h"#include "Packet.h"////////////////////////////////////////////////////////////////////////// class ExtraInfo;//// 霸烙辑滚俊辑 努扼捞攫飘肺 磊脚狼 扁贱捞 己傍阑 舅妨林扁 困茄 努贰胶////////////////////////////////////////////////////////////////////////class ExtraInfo {public :		// constructor	ExtraInfo () throw ();		// destructor	~ExtraInfo () throw ();public :	    // 涝仿胶飘覆(滚欺)栏肺何磐 单捞鸥甫 佬绢辑 菩哦阑 檬扁拳茄促.    void read (SocketInputStream & iStream) throw (ProtocolException, Error);		        // 免仿胶飘覆(滚欺)栏肺 菩哦狼 官捞呈府 捞固瘤甫 焊辰促.    void write (SocketOutputStream & oStream) const throw (ProtocolException, Error);	// get packet's body size	// 弥利拳矫, 固府 拌魂等 沥荐甫 荤侩茄促.	PacketSize_t getSize () throw ();	static uint getMaxSize () throw () { 		return szBYTE + (ExtraSlotInfo::getMaxSize()* 1);	}	// get packet's debug string	string toString () const throw ();	// get / set ListNumber	BYTE getListNum() const throw() { return m_ListNum; }	void setListNum(BYTE ListNum) throw() { m_ListNum = ListNum; }	// add / delete / clear S List	void addListElement(ExtraSlotInfo* pExtraSlotInfo) throw() { m_ExtraSlotInfoList.push_back(pExtraSlotInfo); }	// ClearList	void clearList() throw() { m_ExtraSlotInfoList.clear(); m_ListNum = 0; }	// pop front Element in Status List	ExtraSlotInfo* popFrontListElement() throw() 	{ 		ExtraSlotInfo* TempExtraSlotInfo = m_ExtraSlotInfoList.front(); m_ExtraSlotInfoList.pop_front(); return TempExtraSlotInfo; 	}private :		// ExtraSlotInfo List Total Number	BYTE m_ListNum;	// ExtraSlotInfo List	list<ExtraSlotInfo*> m_ExtraSlotInfoList;};#endif

⌨️ 快捷键说明

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