conditionentermasterlair.h
来自「dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 」· C头文件 代码 · 共 47 行
H
47 行
////////////////////////////////////////////////////////////////////////////////// Filename : ConditionEnterMasterLair.h// Written By : // Description :////////////////////////////////////////////////////////////////////////////////#ifndef __ENTER_MASTER_LAIR_H__#define __ENTER_MASTER_LAIR_H__#include "Condition.h"#include "ConditionFactory.h"#include "Creature.h"//////////////////////////////////////////////////////////////////////////////// class ConditionEnterMasterLair;//////////////////////////////////////////////////////////////////////////////class ConditionEnterMasterLair : public Condition {public: virtual ConditionType_t getConditionType() const throw() { return CONDITION_ENTER_MASTER_LAIR; } virtual bool isPassive() const throw() { return true; } virtual bool isSatisfied(Creature* pNPC, Creature* pPC = NULL, void* pParam = NULL) const throw(); virtual void read(PropertyBuffer & propertyBuffer) throw(Error); ZoneID_t getTargetZoneID() const { return m_TargetZoneID; } virtual string toString() const throw();public: ZoneID_t m_TargetZoneID;};//////////////////////////////////////////////////////////////////////////////// class ConditionEnterMasterLairFactory;//////////////////////////////////////////////////////////////////////////////class ConditionEnterMasterLairFactory : public ConditionFactory {public: virtual ConditionType_t getConditionType() const throw() { return Condition::CONDITION_ENTER_MASTER_LAIR; } virtual Condition* createCondition() const throw() { return new ConditionEnterMasterLair(); } virtual string getConditionName() const throw() { return "EnterMasterLair"; }};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?