📄 actionredeemmotorcycle.h
字号:
////////////////////////////////////////////////////////////////////////////////// Filename : ActionRedeemMotorcycle.h// Written By : // Description : // 敲饭捞绢啊 霸烙俊 甸绢吭阑 锭, 坷配官捞啊 绢叼 乐扒, 敲饭捞绢狼 菊俊// 坷配官捞 按眉甫 积己秦 林绰 开且阑 茄促.////////////////////////////////////////////////////////////////////////////////#ifndef __ACTION_REDEEM_MOTORCYCLE_H__#define __ACTION_REDEEM_MOTORCYCLE_H__#include "Types.h"#include "Exception.h"#include "Action.h"#include "ActionFactory.h"//////////////////////////////////////////////////////////////////////////////// class ActionRedeemMotorcycle;//////////////////////////////////////////////////////////////////////////////class Item;class Zone;class Slayer;class ActionRedeemMotorcycle : public Action {public: virtual ActionType_t getActionType() const throw() { return ACTION_REDEEM_MOTORCYCLE; } virtual void read(PropertyBuffer & propertyBuffer) throw(Error); virtual void execute(Creature* pCreature1, Creature* pCreature2=NULL) throw(Error); virtual string toString() const throw();protected: bool load(Item* pItem, Slayer* pSlayer, Zone* pZone, ZoneCoord_t x, ZoneCoord_t y) const throw();};//////////////////////////////////////////////////////////////////////////////// class ActionRedeemMotorcycleFactory;//////////////////////////////////////////////////////////////////////////////class ActionRedeemMotorcycleFactory : public ActionFactory {public : virtual ActionType_t getActionType() const throw() { return Action::ACTION_REDEEM_MOTORCYCLE; } virtual string getActionName() const throw() { return "RedeemMotorcycle"; } virtual Action* createAction() const throw() { return new ActionRedeemMotorcycle(); }};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -