cgsetvampirehotkey.cpp

来自「dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 」· C++ 代码 · 共 66 行

CPP
66
字号
//////////////////////////////////////////////////////////////////////////////// Filename    : CGSetVampireHotKey.cpp // Written By  : reiot@ewestsoft.com// Description : //////////////////////////////////////////////////////////////////////////////#include "CGSetVampireHotKey.h"void CGSetVampireHotKey::read (SocketInputStream & iStream) 	 throw (ProtocolException , Error){	__BEGIN_TRY			for(int i = 0; i < 8; i++) 	{		iStream.read(m_HotKey[i]);	}	__END_CATCH}void CGSetVampireHotKey::write (SocketOutputStream & oStream) const      throw (ProtocolException , Error){	__BEGIN_TRY	for (int i = 0; i < 8; i++) 	{		oStream.write(m_HotKey[i]);	}	__END_CATCH}void CGSetVampireHotKey::execute (Player* pPlayer) 	 throw (ProtocolException , Error){	__BEGIN_TRY			CGSetVampireHotKeyHandler::execute (this , pPlayer);			__END_CATCH}string CGSetVampireHotKey::toString () const    throw (){	__BEGIN_TRY			StringStream msg;	msg << "CGSetVampireHotKey("		<< "F5:" << (int)m_HotKey[1]		<< "F6:" << (int)m_HotKey[2]		<< "F7:" << (int)m_HotKey[3]		<< "F8:" << (int)m_HotKey[4]		<< "F9:" << (int)m_HotKey[5]		<< ",F10:" << (int)m_HotKey[6]		<< ",F11:" << (int)m_HotKey[7]		<< ",F12:" << (int)m_HotKey[8]		<< ")";	return msg.toString();	__END_CATCH}

⌨️ 快捷键说明

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