📄 cgstashlist.h
字号:
////////////////////////////////////////////////////////////////////////////////// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -