cgsetslayerhotkey.cpp
来自「天之炼狱1服务器端源文件游戏服务端不完整」· C++ 代码 · 共 62 行
CPP
62 行
//////////////////////////////////////////////////////////////////////////////// Filename : CGSetSlayerHotKey.cpp // Written By : reiot@ewestsoft.com// Description : //////////////////////////////////////////////////////////////////////////////#include "CGSetSlayerHotKey.h"void CGSetSlayerHotKey::read (SocketInputStream & iStream) throw (ProtocolException , Error){ __BEGIN_TRY for(int i = 0; i < 4; i++) { iStream.read(m_HotKey[i]); } __END_CATCH} void CGSetSlayerHotKey::write (SocketOutputStream & oStream) const throw (ProtocolException , Error){ __BEGIN_TRY for (int i = 0; i < 4; i++) { oStream.write(m_HotKey[i]); } __END_CATCH}void CGSetSlayerHotKey::execute (Player* pPlayer) throw (ProtocolException , Error){ __BEGIN_TRY CGSetSlayerHotKeyHandler::execute (this , pPlayer); __END_CATCH}string CGSetSlayerHotKey::toString () const throw (){ __BEGIN_TRY StringStream msg; msg << "CGSetSlayerHotKey(" << "F9:" << (int)m_HotKey[0] << ",F10:" << (int)m_HotKey[1] << ",F11:" << (int)m_HotKey[2] << ",F12:" << (int)m_HotKey[3] << ")"; return msg.toString(); __END_CATCH}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?