📄 actionsimplequestregen.h
字号:
//////////////////////////////////////////////////////////////////////////////// Filename : ActionSimpleQuestRegen.h// Written By : // Description : // 惑痢 NPC甫 力老 贸澜 肺爹且 锭, 惑痢 NPC啊 迫霸 瞪 酒捞袍阑// 霖厚窍绰 咀记捞促. ShopTemplate 努贰胶客 概聪历甫 曼绊且 巴.//////////////////////////////////////////////////////////////////////////////#ifndef __ACTION_SIMPLE_QUEST_REGEN_H__#define __ACTION_SIMPLE_QUEST_REGEN_H__#include "Types.h"#include "Exception.h"#include "Action.h"#include "ActionFactory.h"#include "Timeval.h"//////////////////////////////////////////////////////////////////////////////// class ActionSimpleQuestRegen//////////////////////////////////////////////////////////////////////////////class ActionSimpleQuestRegen : public Action {public: ActionSimpleQuestRegen() throw(); virtual ~ActionSimpleQuestRegen() throw(); public: virtual ActionType_t getActionType() const throw() { return ACTION_SIMPLE_QUEST_REGEN; } virtual void read(PropertyBuffer & propertyBuffer) throw(Error); virtual void execute(Creature* pCreature1, Creature* pCreature2 = NULL) throw(Error); virtual string toString() const throw();private : Timeval m_Period; // 惑痢阑 府哩且 林扁 Timeval m_NextRegen; // 促澜 惑痢 府哩 矫埃};////////////////////////////////////////////////////////////////////////////////// class ActionSimpleQuestRegenFactory;////////////////////////////////////////////////////////////////////////////////class ActionSimpleQuestRegenFactory : public ActionFactory {public: virtual ActionType_t getActionType() const throw() { return Action::ACTION_SIMPLE_QUEST_REGEN; } virtual string getActionName() const throw() { return "SimpleQuestRegen"; } virtual Action* createAction() const throw() { return new ActionSimpleQuestRegen(); }};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -