ridemotorcycleslotinfo.h

来自「天之炼狱1服务器端源文件游戏服务端不完整」· C头文件 代码 · 共 52 行

H
52
字号
//////////////////////////////////////////////////////////////////////////////// Filename    : RideMotorcycleSlotInfo.h// Written By  : elca// Description ://////////////////////////////////////////////////////////////////////////////#ifndef __RIDE_MOTORCYCLE_SLOT_INFO_H__#define __RIDE_MOTORCYCLE_SLOT_INFO_H__#include "Types.h"#include "Exception.h"#include "SocketInputStream.h"#include "SocketOutputStream.h"#include "PCItemInfo.h"//////////////////////////////////////////////////////////////////////////////// RideMotorcycle 沥焊甫 淬绊 乐绰 按眉./////////////////////////////////////////////////////////////////////////////class RideMotorcycleSlotInfo : public PCItemInfo {public:	void read (SocketInputStream & iStream) throw (ProtocolException, Error);	void write (SocketOutputStream & oStream) const throw (ProtocolException, Error);	uint getSize () throw ()	{ 		return PCItemInfo::getSize() + szCoordInven*2;	}	static uint getMaxSize () throw ()	{ 		return PCItemInfo::getMaxSize() + szCoordInven*2;	}	string toString () const throw ();public:	void setInvenX(CoordInven_t InvenX) throw() { m_InvenX = InvenX; }	CoordInven_t getInvenX() const throw() { return m_InvenX; }	void setInvenY(CoordInven_t InvenY) throw() { m_InvenY = InvenY; }	CoordInven_t getInvenY() const throw() { return m_InvenY; }private:	CoordInven_t m_InvenX;	CoordInven_t m_InvenY;};#endif

⌨️ 快捷键说明

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