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

📄 gcbloodbiblestatus.cpp

📁 dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 ,luascript v4.0 support
💻 CPP
字号:
//////////////////////////////////////////////////////////////////////// // Filename    : GCBloodBibleStatus.cpp // Written By  : reiot@ewestsoft.com// //////////////////////////////////////////////////////////////////////// include files#include "GCBloodBibleStatus.h"//////////////////////////////////////////////////////////////////////// 涝仿胶飘覆(滚欺)栏肺何磐 单捞鸥甫 佬绢辑 菩哦阑 檬扁拳茄促.//////////////////////////////////////////////////////////////////////void GCBloodBibleStatus::read ( SocketInputStream & iStream ) 	 throw ( ProtocolException , Error ){	__BEGIN_TRY	iStream.read( m_ItemType );	iStream.read( m_ZoneID );	iStream.read( m_Storage );	iStream.read( m_Race );	iStream.read( m_ShrineRace );	iStream.read( m_X );	iStream.read( m_Y );	BYTE szOwnerName;	iStream.read( szOwnerName );	if ( szOwnerName > 256 )		throw InvalidProtocolException("too large message length");	if (szOwnerName>0)	{		iStream.read( m_OwnerName , szOwnerName );	}	__END_CATCH}		    //////////////////////////////////////////////////////////////////////// 免仿胶飘覆(滚欺)栏肺 菩哦狼 官捞呈府 捞固瘤甫 焊辰促.//////////////////////////////////////////////////////////////////////void GCBloodBibleStatus::write ( SocketOutputStream & oStream ) const      throw ( ProtocolException , Error ){	__BEGIN_TRY			oStream.write( m_ItemType );	oStream.write( m_ZoneID );	oStream.write( m_Storage );	oStream.write( m_Race );	oStream.write( m_ShrineRace );	oStream.write( m_X );	oStream.write( m_Y );	BYTE szOwnerName = m_OwnerName.size();	oStream.write( szOwnerName );	if ( szOwnerName > 256 )		throw InvalidProtocolException("too large message length");	if (szOwnerName>0)	{		oStream.write( m_OwnerName );	}	__END_CATCH}//////////////////////////////////////////////////////////////////////// execute packet's handler//////////////////////////////////////////////////////////////////////void GCBloodBibleStatus::execute ( Player * pPlayer ) 	 throw ( ProtocolException , Error ){	__BEGIN_TRY			GCBloodBibleStatusHandler::execute( this , pPlayer );	__END_CATCH}//////////////////////////////////////////////////////////////////////// get packet's debug string//////////////////////////////////////////////////////////////////////string GCBloodBibleStatus::toString () const       throw (){	__BEGIN_TRY			StringStream msg;		msg << "GCBloodBibleStatus("		<< "ItemType=" << (int)m_ItemType		<< ",ZoneID=" << (int)m_ZoneID		<< ",Storage=" << (int)m_Storage		<< ",OwnerName=" << m_OwnerName.c_str()		<< ",Race=" << (int)m_Race		<< ",ShrineRace=" << (int)m_ShrineRace		<< ",X=" << (int)m_X		<< ",Y=" << (int)m_Y		<< ")";	return msg.toString();			__END_CATCH}

⌨️ 快捷键说明

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