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

📄 gcaddgeartoinventory.h

📁 dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 ,luascript v4.0 support
💻 H
字号:
//////////////////////////////////////////////////////////////////////////////// Filename    : GCAddGearToInventory.h // Written By  : crazydog// Description : // Skill ShieldStrike俊 狼秦 惯积. shield甫 厘馒芒俊辑 inventory肺 焊辰促.//////////////////////////////////////////////////////////////////////////////#ifndef __GC_ADD_GEAR_TO_INVENTORY_H__#define __GC_ADD_GEAR_TO_INVENTORY_H__#include "Packet.h"#include "PacketFactory.h"//////////////////////////////////////////////////////////////////////////////// class GCAddGearToInventory;//////////////////////////////////////////////////////////////////////////////class GCAddGearToInventory : public Packet {public:	GCAddGearToInventory() throw();	~GCAddGearToInventory() 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_ADD_GEAR_TO_INVENTORY; }	PacketSize_t getPacketSize() const throw() { return szSlotID + szCoordInven + szCoordInven; }	string getPacketName() const throw() { return "GCAddGearToInventory"; }	string toString() const throw();	public:	SlotID_t getSlotID() throw() { return m_SlotID; }	void setSlotID(SlotID_t SlotID) throw() { m_SlotID = SlotID; }	CoordInven_t getInvenX() const throw() { return m_InvenX; }	void setInvenX(CoordInven_t InvenX) throw() { m_InvenX = InvenX; }	CoordInven_t getInvenY() const throw() { return m_InvenY; }	void setInvenY(CoordInven_t InvenY) { m_InvenY = InvenY; }private:	SlotID_t     m_SlotID; // wear part ID	CoordInven_t m_InvenX; // Inventory狼 X, Y 谅钎.	CoordInven_t m_InvenY;};//////////////////////////////////////////////////////////////////////////////// class GCAddGearToInventoryFactory;//////////////////////////////////////////////////////////////////////////////class GCAddGearToInventoryFactory : public PacketFactory {public:	Packet* createPacket() throw() { return new GCAddGearToInventory(); }	string getPacketName() const throw() { return "GCAddGearToInventory"; }	PacketID_t getPacketID() const throw() { return Packet::PACKET_GC_ADD_GEAR_TO_INVENTORY; }	PacketSize_t getPacketMaxSize() const throw() { return szSlotID + szCoordInven + szCoordInven; }};//////////////////////////////////////////////////////////////////////////////// class GCAddGearToInventoryHandler;//////////////////////////////////////////////////////////////////////////////class GCAddGearToInventoryHandler {public:	static void execute(GCAddGearToInventory* pPacket, Player* player) throw(ProtocolException, Error);};#endif

⌨️ 快捷键说明

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