?? actiongivelotto.h
字號:
//////////////////////////////////////////////////////////////////////////////// Filename : ActionGiveLotto.h// Written By : excel96// Description : // Creature啊 PC俊霸 龍鞏闌 帶柳促. 撈 措葷綽 NPC 措拳芒俊 免仿等促.//////////////////////////////////////////////////////////////////////////////#ifndef __ACTION_GIVE_LOTTO_H__#define __ACTION_GIVE_LOTTO_H__#include "Types.h"#include "Exception.h"#include "Action.h"#include "ActionFactory.h"//////////////////////////////////////////////////////////////////////////////// class ActionGiveLotto//////////////////////////////////////////////////////////////////////////////class ActionGiveLotto : public Action {public: virtual ActionType_t getActionType() const throw() { return ACTION_GIVE_LOTTO; } virtual void read(PropertyBuffer & propertyBuffer) throw(Error); virtual string toString() const throw();public:private: int m_QuestLevel;};//////////////////////////////////////////////////////////////////////////////// class ActionGiveLottoFactory;//////////////////////////////////////////////////////////////////////////////class ActionGiveLottoFactory : public ActionFactory {public: virtual ActionType_t getActionType() const throw() { return Action::ACTION_GIVE_LOTTO; } virtual string getActionName() const throw() { return "GiveLotto"; } virtual Action* createAction() const throw() { return new ActionGiveLotto(); }};#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -