actionprepareteach.h
来自「dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 」· C头文件 代码 · 共 54 行
H
54 行
//////////////////////////////////////////////////////////////////////////////// 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 + =
减小字号Ctrl + -
显示快捷键?