gcmodifyinformation.h
来自「天之炼狱1服务器端源文件游戏服务端不完整」· C头文件 代码 · 共 55 行
H
55 行
//////////////////////////////////////////////////////////////////////////////// Filename : GCModifyInformation.h // Written By : elca@ewestsoft.com// Description : //////////////////////////////////////////////////////////////////////////////#ifndef __GC_MODIFY_INFORMATION_H__#define __GC_MODIFY_INFORMATION_H__#include "Types.h"#include "Exception.h"#include "Packet.h"#include "PacketFactory.h"#include "ModifyInfo.h"//////////////////////////////////////////////////////////////////////////////// class GCModifyInformation;//////////////////////////////////////////////////////////////////////////////class GCModifyInformation : public ModifyInfo{public: void execute(Player* pPlayer) throw(ProtocolException, Error); PacketID_t getPacketID() const throw() { return PACKET_GC_MODIFY_INFORMATION; } string getPacketName() const throw() { return "GCModifyInformation"; }};//////////////////////////////////////////////////////////////////////////////// class GCModifyInformationFactory;//////////////////////////////////////////////////////////////////////////////class GCModifyInformationFactory : public PacketFactory {public: Packet* createPacket() throw() { return new GCModifyInformation(); } string getPacketName() const throw() { return "GCModifyInformation"; } PacketID_t getPacketID() const throw() { return Packet::PACKET_GC_MODIFY_INFORMATION; } PacketSize_t getPacketMaxSize() const throw() { return ModifyInfo::getPacketMaxSize(); }};//////////////////////////////////////////////////////////////////////////////// class GCModifyInformationHandler;//////////////////////////////////////////////////////////////////////////////class GCModifyInformationHandler {public: static void execute(GCModifyInformation* pGCModifyInformation, Player* pPlayer) throw(Error);};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?