📄 actionsetresurrectzone.h
字号:
//////////////////////////////////////////////////////////////////////////////// Filename : ActionSetResurrectZone.h// Written By : // Description : //////////////////////////////////////////////////////////////////////////////#ifndef __ACTION_SET_RESURRECT_ZONE_H__#define __ACTION_SET_RESURRECT_ZONE_H__#include "Types.h"#include "Exception.h"#include "Action.h"#include "ActionFactory.h"//////////////////////////////////////////////////////////////////////////////// class ActionSetResurrectZone;//////////////////////////////////////////////////////////////////////////////class ActionSetResurrectZone : public Action {public: virtual ActionType_t getActionType() const throw() { return ACTION_SET_RESURRECT_ZONE; } virtual void read(PropertyBuffer & propertyBuffer) throw(Error); virtual void execute(Creature* pCreature1, Creature* pCreature2 = NULL) throw(Error); virtual string toString() const throw();public: ZoneID_t getZoneID(void) const throw() { return m_ZoneID; } void setZoneID(ZoneID_t id) throw() { m_ZoneID = id; }private: ZoneID_t m_ZoneID;};////////////////////////////////////////////////////////////////////////////////// class ActionSetResurrectZoneFactory;////////////////////////////////////////////////////////////////////////////////class ActionSetResurrectZoneFactory : public ActionFactory {public : virtual ActionType_t getActionType() const throw() { return Action::ACTION_SET_RESURRECT_ZONE; } virtual string getActionName() const throw() { return "SetResurrectZone"; } virtual Action* createAction() const throw() { return new ActionSetResurrectZone(); }};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -