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

📄 gcshopsellok.cpp

📁 天之炼狱1服务器端源文件游戏服务端不完整
💻 CPP
字号:
//--------------------------------------------------------------------------------// // Filename    : GCShopSellOK.cpp // Written By  : 辫己刮// Description : 敲饭捞绢啊 惑痢 NPC俊霸 拱扒 备涝阑 夸没沁阑 锭, 力措肺//               牢刘捞 登搁 捞 菩哦捞 敲饭捞绢俊霸 朝酒埃促.//               努扼捞攫飘绰 捞 菩哦阑 罐酒辑 惑痢 滚傈阑 诀单捞飘窍绊,//               坷宏璃飘 ID肺 酒捞袍 沥焊甫 眉农秦 初绊, 啊拜阑 捞侩秦//               敲饭捞绢狼 捣阑 诀单捞飘茄促.// //--------------------------------------------------------------------------------// include files#include "GCShopSellOK.h"#include "Assert.h"//--------------------------------------------------------------------// constructor//--------------------------------------------------------------------GCShopSellOK::GCShopSellOK() 	throw (){	__BEGIN_TRY 		__END_CATCH;}//--------------------------------------------------------------------// destructor//--------------------------------------------------------------------GCShopSellOK::~GCShopSellOK() 	throw (){	__BEGIN_TRY 			__END_CATCH;}//--------------------------------------------------------------------// 涝仿胶飘覆(滚欺)栏肺何磐 单捞鸥甫 佬绢辑 菩哦阑 檬扁拳茄促.//--------------------------------------------------------------------void GCShopSellOK::read ( SocketInputStream & iStream ) 	 throw ( ProtocolException , Error ){	__BEGIN_TRY			iStream.read(m_ObjectID);	iStream.read(m_Version);	iStream.read(m_ItemObjectID);	iStream.read(m_Price);	__END_CATCH}		    //--------------------------------------------------------------------------------// 免仿胶飘覆(滚欺)栏肺 菩哦狼 官捞呈府 捞固瘤甫 焊辰促.//--------------------------------------------------------------------------------void GCShopSellOK::write ( SocketOutputStream & oStream ) const      throw ( ProtocolException , Error ){	__BEGIN_TRY	oStream.write(m_ObjectID);	oStream.write(m_Version);	oStream.write(m_ItemObjectID);	oStream.write(m_Price);		__END_CATCH}//--------------------------------------------------------------------------------// execute packet's handler//--------------------------------------------------------------------------------void GCShopSellOK::execute ( Player * pPlayer ) 	 throw ( ProtocolException , Error ){	__BEGIN_TRY			GCShopSellOKHandler::execute( this , pPlayer );	__END_CATCH}//--------------------------------------------------------------------------------// get packet's debug string//--------------------------------------------------------------------------------string GCShopSellOK::toString () const       throw (){	__BEGIN_TRY			StringStream msg;	msg << "GCShopSellOK("		<< "ObjectID:"      << m_ObjectID	    << ",Version:"      << (int)m_Version		<< ",ItemObejctID:" << m_ItemObjectID		<< ",Price:"        << m_Price		<< ")";	return msg.toString();			__END_CATCH}

⌨️ 快捷键说明

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