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

📄 gcshopsold.h

📁 dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 ,luascript v4.0 support
💻 H
字号:
//--------------------------------------------------------------------------------// // Filename    : GCShopSold.h // Written By  : 辫己刮// Description : 茄 敲饭捞绢啊 惑痢 NPC俊霸 拱扒阑 备涝沁绰单,//               促弗 敲饭捞绢档 鞍篮 惑痢 NPC客 措拳 吝捞菌促搁,//               弊 敲饭捞绢客 酒捞袍 格废阑 悼扁拳矫难林绢具 茄促.//               捞 菩哦篮 弊甫 困茄 菩哦捞促.// //--------------------------------------------------------------------------------#ifndef __GC_SHOP_SOLD_H__#define __GC_SHOP_SOLD_H__// include files#include "Packet.h"#include "PacketFactory.h"//--------------------------------------------------------------------------------//// class GCShopSold;////--------------------------------------------------------------------------------class GCShopSold : public Packet {public :	GCShopSold() throw();	virtual ~GCShopSold() throw();		// 涝仿胶飘覆(滚欺)栏肺何磐 单捞鸥甫 佬绢辑 菩哦阑 檬扁拳茄促.	void read(SocketInputStream & iStream) throw(ProtocolException, Error);		    	// 免仿胶飘覆(滚欺)栏肺 菩哦狼 官捞呈府 捞固瘤甫 焊辰促.	void write(SocketOutputStream & oStream) const throw(ProtocolException, Error);	// execute packet's handler	void execute(Player* pPlayer) throw(ProtocolException, Error);	// get packet id	PacketID_t getPacketID() const throw() { return PACKET_GC_SHOP_SOLD; }		// get packet's body size	PacketSize_t getPacketSize() const throw() { return szObjectID + szShopVersion + szShopRackType + szBYTE;}	// get packet name	string getPacketName() const throw() { return "GCShopSold"; }		// get packet's debug string	string toString() const throw();public :	// get/set NPC's object id	ObjectID_t getObjectID() const throw() { return m_ObjectID; }	void setObjectID(ObjectID_t creatureID) throw() { m_ObjectID = creatureID; }	// get/set shop version		ShopVersion_t getShopVersion(void) const throw() { return m_Version;}	void setShopVersion(const ShopVersion_t ver) throw() { m_Version = ver;}	// get/set rack type	ShopRackType_t getShopType(void) const throw() { return m_RackType;}	void setShopType(ShopRackType_t type) throw() { m_RackType = type;}		// get/set rack index	BYTE getShopIndex(void) const throw() { return m_RackIndex;}	void setShopIndex(BYTE index) throw() { m_RackIndex = index;}private :		// NPC's object id	ObjectID_t m_ObjectID;		// 惑痢 滚怜	ShopVersion_t m_Version;	// 柳凯厘 辆幅		ShopRackType_t m_RackType;		// 柳凯厘 牢郸胶	BYTE m_RackIndex;		};////////////////////////////////////////////////////////////////////////// class GCShopSoldFactory;//// Factory for GCShopSold////////////////////////////////////////////////////////////////////////class GCShopSoldFactory : public PacketFactory {public :		// create packet	Packet* createPacket() throw() { return new GCShopSold(); }	// get packet name	string getPacketName() const throw() { return "GCShopSold"; }		// get packet id	PacketID_t getPacketID() const throw() { return Packet::PACKET_GC_SHOP_SOLD; }	// get packet's max body size	// *OPTIMIZATION HINT*	// const static GCShopSoldPacketMaxSize 甫 沥狼, 府畔窍扼.	PacketSize_t getPacketMaxSize() const throw() { return szObjectID + szShopVersion + szShopRackType + szBYTE; }};////////////////////////////////////////////////////////////////////////// class GCShopSoldHandler;////////////////////////////////////////////////////////////////////////class GCShopSoldHandler {	public :		// execute packet's handler	static void execute(GCShopSold* pPacket, Player* pPlayer) throw(ProtocolException, Error);};#endif

⌨️ 快捷键说明

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