⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 conditionansweredby.h

📁 dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 ,luascript v4.0 support
💻 H
字号:
//////////////////////////////////////////////////////////////////////////////// Filename    : ConditionAnsweredBy.h// Written By  : // Description :// PC啊 NPC狼 龙巩俊 措翠沁阑 版快俊 惯积窍绰 牧叼记捞促.//////////////////////////////////////////////////////////////////////////////#ifndef __ANSWEREDBY_H__#define __ANSWEREDBY_H__#include "Condition.h"#include "ConditionFactory.h"#include "Creature.h"//////////////////////////////////////////////////////////////////////////////// class ConditionAnsweredBy;//////////////////////////////////////////////////////////////////////////////class ConditionAnsweredBy : public Condition {public:	virtual ConditionType_t getConditionType() const throw() { return CONDITION_ANSWERED_BY; }	virtual bool isActive() const throw() { return false;}	virtual bool isPassive() const throw() { return true; } // 菩哦俊 馆览阑 窍聪鳖... passive condition捞促.	virtual bool isNeutral() const throw() { return false; }	virtual bool isSatisfied(Creature* pCreature1, Creature* pCreature2 = NULL, void* pParam = NULL) const throw();	virtual void read(PropertyBuffer & propertyBuffer) throw(Error);	virtual string toString() const throw();public :	ScriptID_t getScriptID(void) const { return m_ScriptID;}	AnswerID_t getAnswerID(void) const { return m_AnswerID;}		void setScriptID(ScriptID_t scriptID) { m_ScriptID = scriptID;}	void setAnswerID(ScriptID_t answerID) { m_AnswerID = answerID;}private :	ScriptID_t m_ScriptID;	AnswerID_t m_AnswerID;};//////////////////////////////////////////////////////////////////////////////// class ConditionAnsweredByFactory;//////////////////////////////////////////////////////////////////////////////class ConditionAnsweredByFactory : public ConditionFactory {public:    virtual ConditionType_t getConditionType() const throw() { return Condition::CONDITION_ANSWERED_BY; }    virtual Condition* createCondition() const throw() { return new ConditionAnsweredBy(); }    virtual string getConditionName() const throw() { return "AnsweredBy"; }};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -