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

📄 gcaddnewitemtozone.cpp

📁 dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 ,luascript v4.0 support
💻 CPP
字号:
//////////////////////////////////////////////////////////////////////// // Filename    : GCAddNewItemToZone.cc // Written By  : elca// Description : // //////////////////////////////////////////////////////////////////////// include files#include "GCAddNewItemToZone.h"#include "Assert.h"//--------------------------------------------------------------------// Constructor//--------------------------------------------------------------------GCAddNewItemToZone::GCAddNewItemToZone()      throw (){	__BEGIN_TRY	__END_CATCH}	//--------------------------------------------------------------------// Destructor//--------------------------------------------------------------------GCAddNewItemToZone::~GCAddNewItemToZone()     throw (){	__BEGIN_TRY	__END_CATCH}//////////////////////////////////////////////////////////////////////// execute packet's handler//////////////////////////////////////////////////////////////////////void GCAddNewItemToZone::execute ( Player * pPlayer ) 	 throw ( ProtocolException , Error ){	__BEGIN_TRY			GCAddNewItemToZoneHandler::execute( this , pPlayer );			__END_CATCH}////////////////////////////////////////////////////////////////////////// get packet's debug string////////////////////////////////////////////////////////////////////////string GCAddNewItemToZone::toString () const       throw (){	__BEGIN_TRY	StringStream msg;	msg << "GCAddNewItemToZone("		<< "ObjectID:" << m_ObjectID		<< ",X:" << (int)m_X 		<< ",Y:" << (int)m_Y 		<< ",ItemClass: " << (int)m_ItemClass		<< ",ItemType: " << (int)m_ItemType		<< ",OptionTypeSize: " << (int)m_OptionType.size()		<< ",Durability: " << (int)m_Durability		<< ",ItemNum: " << (int)m_ItemNum		<< ")" ;	return msg.toString();	__END_CATCH}

⌨️ 快捷键说明

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