📄 actionsell.h
字号:
//////////////////////////////////////////////////////////////////////////////// Filename : ActionSell.h// Written By : // Description : // NPC啊 酒捞袍阑 敲饭捞绢俊霸 颇绰 咀记捞促. 角力肺绰 芭贰甫// 矫累窍霸 父靛绰 咀记捞哥, 窍绰 老篮 敲饭捞绢俊霸 泅犁 NPC狼// 惑痢 滚傈阑 菩哦栏肺 焊郴林绰 老 挥捞促.//////////////////////////////////////////////////////////////////////////////#ifndef __ACTION_SELL_H__#define __ACTION_SELL_H__#include "Types.h"#include "Exception.h"#include "Action.h"#include "ActionFactory.h"//////////////////////////////////////////////////////////////////////////////// class ActionSell//////////////////////////////////////////////////////////////////////////////class ActionSell : public Action {public: virtual ActionType_t getActionType() const throw() { return ACTION_SELL; } virtual void read(PropertyBuffer & propertyBuffer) throw(Error); virtual void execute(Creature* pCreature1, Creature* pCreature2 = NULL) throw(Error); virtual string toString() const throw();};//////////////////////////////////////////////////////////////////////////////// class AskFactory;//////////////////////////////////////////////////////////////////////////////class ActionSellFactory : public ActionFactory {public: virtual ActionType_t getActionType() const throw() { return Action::ACTION_SELL; } virtual string getActionName() const throw() { return "Sell"; } virtual Action* createAction() const throw() { return new ActionSell(); }};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -