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

📄 conditionentercastledungeon.h

📁 天之炼狱1服务器端源文件游戏服务端不完整
💻 H
字号:
////////////////////////////////////////////////////////////////////////////////// Filename    : ConditionEnterCastleDungeon.h// Written By  : // Description :////////////////////////////////////////////////////////////////////////////////#ifndef __ENTER_CASTLE_DUNGEON_H__#define __ENTER_CASTLE_DUNGEON_H__#include "Condition.h"#include "ConditionFactory.h"#include "Creature.h"//////////////////////////////////////////////////////////////////////////////// class ConditionEnterCastleDungeon;//////////////////////////////////////////////////////////////////////////////class ConditionEnterCastleDungeon : public Condition {public:	virtual ConditionType_t getConditionType() const throw() { return CONDITION_ENTER_CASTLE_DUNGEON; }	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 getCastleZoneID() const	{ return m_CastleZoneID; }	virtual string toString() const throw();public:	ZoneID_t 	m_CastleZoneID;};//////////////////////////////////////////////////////////////////////////////// class ConditionEnterCastleDungeonFactory;//////////////////////////////////////////////////////////////////////////////class ConditionEnterCastleDungeonFactory : public ConditionFactory {public:    virtual ConditionType_t getConditionType() const throw() { return Condition::CONDITION_ENTER_CASTLE_DUNGEON; }    virtual Condition* createCondition() const throw() { return new ConditionEnterCastleDungeon(); }    virtual string getConditionName() const throw() { return "EnterCastleDungeon"; }};#endif

⌨️ 快捷键说明

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