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

📄 gcskillinfo.h

📁 天之炼狱1服务器端源文件游戏服务端不完整
💻 H
字号:
//--------------------------------------------------------------------------------// // Filename    : GCSkillInfo.h // Written By  : Reiot// Description : // //--------------------------------------------------------------------------------#ifndef __GC_SKILL_INFO_H__#define __GC_SKILL_INFO_H__// include files#include "Packet.h"#include "PacketFactory.h"#include "PCSkillInfo.h"#include "SlayerSkillInfo.h"#include "VampireSkillInfo.h"#include "Assert.h"//--------------------------------------------------------------------------------//// class GCSkillInfo;//// 努扼捞攫飘啊 霸烙 辑滚俊 立加秦辑 CGConnect 菩哦阑 焊郴搁, 霸烙 辑滚绰 农府贸客// 家蜡 酒捞袍阑 肺爹秦辑 粮俊 甸绢哎 霖厚甫 窍霸 等促. 弊促澜 PC客 酒捞袍 沥焊,// 弊府绊 粮 沥焊甫 GCSkillInfo俊 淬酒辑 努扼捞攫飘肺 傈价窍霸 等促.////--------------------------------------------------------------------------------class GCSkillInfo : public Packet {public :	// constructor	GCSkillInfo() throw();	// destructor	~GCSkillInfo() throw();	    // 涝仿胶飘覆(滚欺)栏肺何磐 单捞鸥甫 佬绢辑 菩哦阑 檬扁拳茄促.    void read(SocketInputStream & iStream) throw(ProtocolException, Error);		        // 免仿胶飘覆(滚欺)栏肺 菩哦狼 官捞呈府 捞固瘤甫 焊辰促.    void write(SocketOutputStream & oStream) const throw(ProtocolException, Error);	// execute packet's handler	void execute(Player* pPlayer) throw(ProtocolException, Error);	// get packet id	PacketID_t getPacketID() const throw() { return PACKET_GC_SKILL_INFO; }		// get packet's body size	PacketSize_t getPacketSize() const throw();	// get packet name	string getPacketName() const throw() { return "GCSkillInfo"; }		// get packet's debug string	string toString() const throw();//--------------------------------------------------// methods//--------------------------------------------------public :	// get / set PCType	BYTE getPCType() const throw() { return m_PCType; }	void setPCType(BYTE PCType) throw() { m_PCType = PCType; }    // add / delete / clear Skill List	void addListElement(PCSkillInfo* pPCSkillInfo) throw() { m_pPCSkillInfoList.push_back(pPCSkillInfo); }		// ClearList	void clearList() throw() { m_pPCSkillInfoList.clear(); }		// pop front Element in Status List	PCSkillInfo* popFrontListElement() throw()	{		PCSkillInfo* TempPCSkillInfo = m_pPCSkillInfoList.front(); m_pPCSkillInfoList.pop_front(); return TempPCSkillInfo;	}private :	BYTE m_PCType;	//---------------------------------------------------------	// PC Skill Information	// SlayerSkillInfo 肚绰 VampireSkillInfo 甫 荤侩茄促.	//---------------------------------------------------------	list<PCSkillInfo *> m_pPCSkillInfoList;};//--------------------------------------------------------------------------------//// class GCSkillInfoFactory;//// Factory for GCSkillInfo////--------------------------------------------------------------------------------class GCSkillInfoFactory : public PacketFactory {public :		// create packet	Packet* createPacket() throw() { return new GCSkillInfo(); }	// get packet name	string getPacketName() const throw() { return "GCSkillInfo"; }		// get packet id	PacketID_t getPacketID() const throw() { return Packet::PACKET_GC_SKILL_INFO; }	// get packet's max body size	// *OPTIMIZATION HINT*	// const static GCSkillInfoPacketMaxSize 甫 沥狼, 府畔窍扼.	PacketSize_t getPacketMaxSize() const throw() 	{ 		return SlayerSkillInfo::getMaxSize();	}};//--------------------------------------------------------------------------------//// class GCSkillInfoHandler;////--------------------------------------------------------------------------------class GCSkillInfoHandler {public :	// execute packet's handler	static void execute(GCSkillInfo* pPacket, Player* pPlayer) throw(ProtocolException, Error);};#endif

⌨️ 快捷键说明

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