📄 actioninitsimplequest.h
字号:
//////////////////////////////////////////////////////////////////////////////// Filename : ActionInitSimpleQuest.h// Written By : excel96// Description : // Creature啊 PC俊霸 龙巩阑 带柳促. 捞 措荤绰 NPC 措拳芒俊 免仿等促.//////////////////////////////////////////////////////////////////////////////#ifndef __ACTION_INIT_SIMPLE_QUEST_H__#define __ACTION_INIT_SIMPLE_QUEST_H__#include "Types.h"#include "Exception.h"#include "Action.h"#include "ActionFactory.h"//////////////////////////////////////////////////////////////////////////////// class ActionInitSimpleQuest//////////////////////////////////////////////////////////////////////////////class ActionInitSimpleQuest : public Action {public: virtual ActionType_t getActionType() const throw() { return ACTION_INIT_SIMPLE_QUEST; } virtual void read(PropertyBuffer & propertyBuffer) throw(Error); virtual void execute(Creature* pCreature1, Creature* pCreature2 = NULL) throw(Error); virtual string toString() const throw();public:private: Race_t m_Race;};//////////////////////////////////////////////////////////////////////////////// class ActionInitSimpleQuestFactory;//////////////////////////////////////////////////////////////////////////////class ActionInitSimpleQuestFactory : public ActionFactory {public: virtual ActionType_t getActionType() const throw() { return Action::ACTION_INIT_SIMPLE_QUEST; } virtual string getActionName() const throw() { return "InitSimpleQuest"; } virtual Action* createAction() const throw() { return new ActionInitSimpleQuest(); }};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -