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

📄 gcqueststatus.h

📁 天之炼狱1服务器端源文件游戏服务端不完整
💻 H
字号:
//////////////////////////////////////////////////////////////////////////////// Filename    : GCQuestStatus.h // Written By  : elca@ewestsoft.com// Description : // 扁贱捞 己傍沁阑锭 焊郴绰 菩哦阑 困茄 努贰胶 沥狼//////////////////////////////////////////////////////////////////////////////#ifndef __GC_QUEST_STATUS_H__#define __GC_QUEST_STATUS_H__#include "Types.h"#include "Exception.h"#include "Packet.h"#include "PacketFactory.h"//////////////////////////////////////////////////////////////////////////////// class GCQuestStatus;// 霸烙辑滚俊辑 努扼捞攫飘肺 磊脚狼 扁贱捞 己傍阑 舅妨林扁 困茄 努贰胶//////////////////////////////////////////////////////////////////////////////class GCQuestStatus : public Packet {public:	GCQuestStatus() throw();	~GCQuestStatus() throw();	public:    void read(SocketInputStream & iStream) throw(ProtocolException, Error);    void write(SocketOutputStream & oStream) const throw(ProtocolException, Error);	void execute(Player* pPlayer) throw(ProtocolException, Error);	PacketID_t getPacketID() const throw() { return PACKET_GC_QUEST_STATUS; }	PacketSize_t getPacketSize() const throw() { return szWORD + szWORD + szDWORD; }	string getPacketName() const throw() { return "GCQuestStatus"; }	string toString() const throw();public:	WORD getQuestID() const throw() { return m_QuestID; }	void setQuestID(WORD e) throw() { m_QuestID = e; }		WORD getCurrentNum() const throw() { return m_CurrentNum; }	void setCurrentNum(WORD n) throw() { m_CurrentNum = n; }	DWORD getRemainTime() const throw() { return m_Time; }	void setRemainTime(DWORD d) throw() { m_Time = d; }	private :	WORD m_QuestID;	WORD m_CurrentNum;	DWORD m_Time;};//////////////////////////////////////////////////////////////////////////////// class GCQuestStatusFactory;//////////////////////////////////////////////////////////////////////////////class GCQuestStatusFactory : public PacketFactory {public :	GCQuestStatusFactory() throw() {}	virtual ~GCQuestStatusFactory() throw() {}	public:	Packet* createPacket() throw() { return new GCQuestStatus(); }	string getPacketName() const throw() { return "GCQuestStatus"; }	PacketID_t getPacketID() const throw() { return Packet::PACKET_GC_QUEST_STATUS; }	PacketSize_t getPacketMaxSize() const throw() { return szWORD + szWORD + szDWORD; }};//////////////////////////////////////////////////////////////////////////////// class GCQuestStatusHandler;//////////////////////////////////////////////////////////////////////////////class GCQuestStatusHandler {public:	static void execute(GCQuestStatus* pGCQuestStatus, Player* pPlayer) throw(Error);};#endif

⌨️ 快捷键说明

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