📄 actionprepareteach.h
字号:
//////////////////////////////////////////////////////////////////////////////// Filename : ActionPrepareTeach.h// Written By : // Description : // 背包 NPC啊 啊福媚 临 荐 乐绰 扁贱狼 辆幅甫 沥窍绰 咀记捞促.// PrepareShop苞 厚搅窍霸 AtFirst 牧叼记阑 捞侩窍咯 贸澜// 茄锅父 角青窍绊 促矫绰 角青窍瘤 臼绰促.//////////////////////////////////////////////////////////////////////////////#ifndef __ACTION_PREPARE_TEACH_H__#define __ACTION_PREPARE_TEACH_H__#include "Types.h"#include "Exception.h"#include "Action.h"#include "ActionFactory.h"//////////////////////////////////////////////////////////////////////////////// class ActionPrepareTeach;//////////////////////////////////////////////////////////////////////////////class ActionPrepareTeach : public Action {public: virtual ActionType_t getActionType() const throw() { return ACTION_PREPARE_TEACH; } virtual void read(PropertyBuffer & propertyBuffer) throw(Error); virtual void execute(Creature* pCreature1, Creature* pCreature2 = NULL) throw(Error); virtual string toString() const throw();public: SkillLevel_t getMaxLevel(void) const throw() { return m_MaxLevel;} void setMaxLevel(SkillLevel_t level) throw() { m_MaxLevel = level;}private: SkillLevel_t m_MaxLevel; // 啊福媚 临 胶懦狼 钙胶 饭骇};//////////////////////////////////////////////////////////////////////////////// class ActionPrepareTeachFactory;//////////////////////////////////////////////////////////////////////////////class ActionPrepareTeachFactory : public ActionFactory {public: virtual ActionType_t getActionType() const throw() { return Action::ACTION_PREPARE_TEACH; } virtual string getActionName() const throw() { return "PrepareTeach"; } virtual Action* createAction() const throw() { return new ActionPrepareTeach(); }};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -