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

📄 ucupdate.cpp

📁 天之炼狱1服务器端源文件游戏服务端不完整
💻 CPP
字号:
//--------------------------------------------------------------------------------// // Filename    : UCUpdate.cpp// Written By  : Reiot// Description : // ////////////////////////////////////////////////////////////////////////--------------------------------------------------------------------------------// include files#include "UCUpdate.h"//--------------------------------------------------------------------------------// read from socket input stream//--------------------------------------------------------------------------------void UCUpdate::read ( Socket * pSocket )	throw ( ProtocolException , Error ){	__BEGIN_TRY	//--------------------------------------------------------------------------------	// read resource	//--------------------------------------------------------------------------------	m_Resource.read( pSocket );	__END_CATCH}//--------------------------------------------------------------------------------// write to socket output stream//--------------------------------------------------------------------------------void UCUpdate::write ( Socket * pSocket ) const	throw ( ProtocolException , Error ){	__BEGIN_TRY	//--------------------------------------------------------------------------------	// write resource	//--------------------------------------------------------------------------------	m_Resource.write( pSocket );	__END_CATCH}//--------------------------------------------------------------------------------// execute packet's handler//--------------------------------------------------------------------------------void UCUpdate::execute ( Player * pPlayer ) 	 throw ( ProtocolException , Error ){	__BEGIN_TRY			UCUpdateHandler::execute( this , pPlayer );			__END_CATCH}//--------------------------------------------------------------------------------// get debug string//--------------------------------------------------------------------------------string UCUpdate::toString () const	throw (){	StringStream msg;	msg << "UCUpdate("		<< m_Resource.toString()		<< ")";	return msg.toString();}

⌨️ 快捷键说明

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