cgstashlist.h

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

H
76
字号
////////////////////////////////////////////////////////////////////////////////// Filename    : CGStashList.h // Written By  : 辫己刮// Description : // 努扼捞攫飘啊 焊包窃 救俊 甸绢乐绰 酒捞袍狼 府胶飘甫 夸备且 锭 静捞绰// 菩哦捞促. ////////////////////////////////////////////////////////////////////////////////#ifndef __CG_STASH_LIST_H__#define __CG_STASH_LIST_H__// include files#include "Packet.h"#include "PacketFactory.h"//////////////////////////////////////////////////////////////////////////////////// class CGStashList;//////////////////////////////////////////////////////////////////////////////////class CGStashList : 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_LIST; }	PacketSize_t getPacketSize() const throw() { return szObjectID; }	string getPacketName() const throw() { return "CGStashList"; }	string toString() const throw();public:	ObjectID_t getObjectID() throw() { return m_ObjectID; }	void setObjectID(ObjectID_t id) throw() { m_ObjectID = id; }private:	ObjectID_t m_ObjectID; // 敲饭捞绢 农府媚狼 object id};//////////////////////////////////////////////////////////////////////////////////// class CGStashListFactory;//// Factory for CGStashList//////////////////////////////////////////////////////////////////////////////////class CGStashListFactory : public PacketFactory {public:	Packet* createPacket() throw() { return new CGStashList(); }	string getPacketName() const throw() { return "CGStashList"; }	PacketID_t getPacketID() const throw() { return Packet::PACKET_CG_STASH_LIST; }	PacketSize_t getPacketMaxSize() const throw() { return szObjectID; }};//////////////////////////////////////////////////////////////////////////////////// class CGStashListHandler;//////////////////////////////////////////////////////////////////////////////////class CGStashListHandler {public:	static void execute(CGStashList* pPacket, Player* player) throw(ProtocolException, Error);};#endif

⌨️ 快捷键说明

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