actionteachskill.h
来自「天之炼狱1服务器端源文件游戏服务端不完整」· C头文件 代码 · 共 59 行
H
59 行
//////////////////////////////////////////////////////////////////////////////// Filename : ActionTeachSkill.h// Written By : // Description : // NPC啊 敲饭捞绢俊霸 扁贱阑 啊福媚 临 锭 静捞绰 咀记捞促.// 角力利栏肺绰 NPC啊 啊福媚 临 荐 乐绰 扁贱阑 菩哦栏肺// 傈价秦 临 挥捞绊, 唱赣瘤 累诀甸篮 菩哦捞 空汗窍绰 荤捞俊 贸府等促.//////////////////////////////////////////////////////////////////////////////#ifndef __ACTION_TEACH_SKILL_H__#define __ACTION_TEACH_SKILL_H__#include "Types.h"#include "Exception.h"#include "Action.h"#include "ActionFactory.h"#define TEACH_SKILL_SLAYER 0#define TEACH_SKILL_VAMPIRE 1//////////////////////////////////////////////////////////////////////////////// class ActionTeachSkill;//////////////////////////////////////////////////////////////////////////////class ActionTeachSkill : public Action {public: virtual ActionType_t getActionType() const throw() { return ACTION_TEACH_SKILL; } virtual void read(PropertyBuffer & propertyBuffer) throw(Error); virtual void execute(Creature* pCreature1, Creature* pCreature2 = NULL) throw(Error); virtual string toString() const throw();public: virtual void executeSlayer(Creature* pCreature1, Creature* pCreature2 = NULL) throw(Error); virtual void executeVampire(Creature* pCreature1, Creature* pCreature2 = NULL) throw(Error); SkillDomainType_t getDomainType(void) const throw() { return m_DomainType;} void setDomainType(SkillDomainType_t domain) throw() { m_DomainType = domain;}private: SkillDomainType_t m_DomainType; // 啊福媚 临 胶懦狼 档皋牢};////////////////////////////////////////////////////////////////////////////////// class ActionTeachSkillFactory;////////////////////////////////////////////////////////////////////////////////class ActionTeachSkillFactory : public ActionFactory {public : virtual ActionType_t getActionType() const throw() { return Action::ACTION_TEACH_SKILL; } virtual string getActionName() const throw() { return "TeachSkill"; } virtual Action* createAction() const throw() { return new ActionTeachSkill(); }};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?