📄 actionrestore.h
字号:
//////////////////////////////////////////////////////////////////////////////// Filename : ActionRestore.h// Written By : // Description : // 轨颇捞绢啊 等 敲饭捞绢甫 浇饭捞绢肺 倒妨林绰 咀记捞促.//////////////////////////////////////////////////////////////////////////////#ifndef __ACTION_RESTORE_H__#define __ACTION_RESTORE_H__#include "Types.h"#include "Exception.h"#include "Action.h"#include "ActionFactory.h"//////////////////////////////////////////////////////////////////////////////// class ActionRestore;//////////////////////////////////////////////////////////////////////////////class ActionRestore : public Action {public: virtual ActionType_t getActionType() const throw() { return ACTION_RESTORE; } virtual void read(PropertyBuffer & propertyBuffer) throw(Error); virtual void execute(Creature* pCreature1, Creature* pCreature2 = NULL) throw(Error); virtual string toString() const throw();private :};//////////////////////////////////////////////////////////////////////////////// class ActionRestoreFactory;//////////////////////////////////////////////////////////////////////////////class ActionRestoreFactory : public ActionFactory {public: virtual ActionType_t getActionType() const throw() { return Action::ACTION_RESTORE; } virtual Action* createAction() const throw() { return new ActionRestore(); } virtual string getActionName() const throw() { return "Restore"; }};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -