gcaddinstalledminetozone.cpp
来自「天之炼狱1服务器端源文件游戏服务端不完整」· C++ 代码 · 共 73 行
CPP
73 行
//////////////////////////////////////////////////////////////////////// // Filename : GCAddInstalledMineToZone.cc // Written By : elca// Description : // //////////////////////////////////////////////////////////////////////// include files#include "GCAddInstalledMineToZone.h"#include "Assert.h"//--------------------------------------------------------------------// Constructor//--------------------------------------------------------------------GCAddInstalledMineToZone::GCAddInstalledMineToZone() throw (){ __BEGIN_TRY __END_CATCH} //--------------------------------------------------------------------// Destructor//--------------------------------------------------------------------GCAddInstalledMineToZone::~GCAddInstalledMineToZone() throw (){ __BEGIN_TRY __END_CATCH}//////////////////////////////////////////////////////////////////////// execute packet's handler//////////////////////////////////////////////////////////////////////void GCAddInstalledMineToZone::execute ( Player * pPlayer ) throw ( ProtocolException , Error ){ __BEGIN_TRY GCAddInstalledMineToZoneHandler::execute( this , pPlayer ); __END_CATCH}////////////////////////////////////////////////////////////////////////// get packet's debug string////////////////////////////////////////////////////////////////////////string GCAddInstalledMineToZone::toString () const throw (){ __BEGIN_TRY StringStream msg; msg << "GCAddInstalledMineToZone(" << "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 + =
减小字号Ctrl + -
显示快捷键?