cgstashrequestbuy.h

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

H
67
字号
////////////////////////////////////////////////////////////////////////////////// // Filename    : CGStashRequestBuy.h // Written By  : 辫己刮// Description : // ////////////////////////////////////////////////////////////////////////////////#ifndef __CG_STASH_REQUEST_BUY_H__#define __CG_STASH_REQUEST_BUY_H__#include "Packet.h"#include "PacketFactory.h"//////////////////////////////////////////////////////////////////////////////////// class CGStashRequestBuy;//////////////////////////////////////////////////////////////////////////////////class CGStashRequestBuy : public Packet {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_CG_STASH_REQUEST_BUY; }	PacketSize_t getPacketSize() const throw() { return 0; }	string getPacketName() const throw() { return "CGStashRequestBuy"; }	string toString() const throw();	};//////////////////////////////////////////////////////////////////////////////////// class CGStashRequestBuyFactory;//// Factory for CGStashRequestBuy//////////////////////////////////////////////////////////////////////////////////class CGStashRequestBuyFactory : public PacketFactory {public:	Packet* createPacket() throw() { return new CGStashRequestBuy(); }	string getPacketName() const throw() { return "CGStashRequestBuy"; }	PacketID_t getPacketID() const throw() { return Packet::PACKET_CG_STASH_REQUEST_BUY; }	PacketSize_t getPacketMaxSize() const throw() { return 0; }};//////////////////////////////////////////////////////////////////////////////////// class CGStashRequestBuyHandler;//////////////////////////////////////////////////////////////////////////////////class CGStashRequestBuyHandler {public:	static void execute(CGStashRequestBuy* pPacket, Player* player) throw(ProtocolException, Error);};#endif

⌨️ 快捷键说明

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