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

📄 gcshopbuyfail.cpp

📁 天之炼狱1服务器端源文件游戏服务端不完整
💻 CPP
字号:
//////////////////////////////////////////////////////////////////////////////// Filename    : GCShopBuyFail.cpp // Written By  : excel96// Description :// 敲饭捞绢啊 惑痢俊辑 酒捞袍阑 备涝窍妨绊 沁绰单,// 沥惑利牢 备概啊 角菩沁阑 版快俊 敲饭捞绢俊霸 焊郴绰 菩哦.//////////////////////////////////////////////////////////////////////////////#include "GCShopBuyFail.h"#include "Assert.h"GCShopBuyFail::GCShopBuyFail(){	m_ObjectID = 0;	m_Code     = GC_SHOP_BUY_FAIL_MAX;	m_Amount   = 0;}GCShopBuyFail::~GCShopBuyFail(){}void GCShopBuyFail::read (SocketInputStream & iStream) 	 throw (ProtocolException , Error){	__BEGIN_TRY			iStream.read(m_ObjectID);	iStream.read(m_Code);	iStream.read(m_Amount);	__END_CATCH}		    void GCShopBuyFail::write (SocketOutputStream & oStream) const      throw (ProtocolException , Error){	__BEGIN_TRY			oStream.write(m_ObjectID);	oStream.write(m_Code);	oStream.write(m_Amount);	__END_CATCH}void GCShopBuyFail::execute (Player * pPlayer) 	 throw (ProtocolException , Error){	__BEGIN_TRY			GCShopBuyFailHandler::execute(this , pPlayer);	__END_CATCH}string GCShopBuyFail::toString () const       throw (){	__BEGIN_TRY			StringStream msg;	msg << "GCShopBuyFail(" 		<< "ObjectID:" << m_ObjectID 		<< ",CODE:" << GCShopBuyFailCode2String[m_Code]		<< ",Amount:" << m_Amount		<< ")";	return msg.toString();			__END_CATCH}

⌨️ 快捷键说明

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