lcloginok.cpp

来自「天之炼狱1服务器端源文件游戏服务端不完整」· C++ 代码 · 共 64 行

CPP
64
字号
//////////////////////////////////////////////////////////////////////// // Filename    : LCLoginOK.cpp// Written By  : Reiot// Description : // //////////////////////////////////////////////////////////////////////// include files#include "LCLoginOK.h"//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////void LCLoginOK::read ( SocketInputStream & iStream )	throw ( ProtocolException , Error ){	__BEGIN_TRY	// 辑滚 弊缝 捞抚阑 佬绰促.	iStream.read( m_isAdult );	iStream.read( m_bFamily );	iStream.read( m_Stat );	iStream.read( m_LastDays );	__END_CATCH}//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////void LCLoginOK::write ( SocketOutputStream & oStream ) const	throw ( ProtocolException , Error ){	__BEGIN_TRY	// 弊缝 捞抚阑 敬促.	oStream.write( m_isAdult );	oStream.write( m_bFamily );	oStream.write( m_Stat );	oStream.write( m_LastDays );	cout << "**************" << m_LastDays << " 老 巢疽嚼聪促." << endl;	__END_CATCH}//////////////////////////////////////////////////////////////////////// execute packet's handler//////////////////////////////////////////////////////////////////////void LCLoginOK::execute ( Player * pPlayer ) 	 throw ( ProtocolException , Error ){	__BEGIN_TRY			LCLoginOKHandler::execute( this , pPlayer );			__END_CATCH}

⌨️ 快捷键说明

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