cgsetvampirehotkey.cpp

来自「天之炼狱1服务器端源文件游戏服务端不完整」· 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 + -
显示快捷键?