effectprotectionfromacid.h

来自「dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 」· C头文件 代码 · 共 63 行

H
63
字号
//////////////////////////////////////////////////////////////////////////////// Filename    : EffectProtectionFromAcid.h// Written by  : excel96// Description : // ProtectionFromAcid俊 狼秦辑 积己登绰 魂己 单固瘤 距拳 捞棋飘捞促.//////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_PROTECTION_FROM_ACID__#define __EFFECT_PROTECTION_FROM_ACID__#include "Effect.h"#include "EffectLoader.h"//////////////////////////////////////////////////////////////////////////////// class EffectProtectionFromAcid//////////////////////////////////////////////////////////////////////////////class EffectProtectionFromAcid : public Effect {public:	EffectProtectionFromAcid(Creature* pCreature) throw(Error);public:    EffectClass getEffectClass() const throw() { return EFFECT_CLASS_PROTECTION_FROM_ACID; }	void affect() throw(Error){}	void affect(Creature* pCreature) throw(Error);	void affect(Zone* pZone, ZoneCoord_t x, ZoneCoord_t y, Object* pObject) throw(Error);	void unaffect() throw(Error);	void unaffect(Creature* pCreature) throw(Error);	void unaffect(Item* pItem) throw(Error) {}	void unaffect(Zone* pZone, ZoneCoord_t x, ZoneCoord_t y, Object* pObject) throw(Error);	string toString() const throw();public:	Resist_t getResist(void) const throw() { return m_Resist; }	void setResist(Resist_t resist) { m_Resist = resist; }private :	Resist_t m_Resist;};//////////////////////////////////////////////////////////////////////////////// class EffectProtectionFromAcidLoader//////////////////////////////////////////////////////////////////////////////class EffectProtectionFromAcidLoader : public EffectLoader {public:	virtual Effect::EffectClass getEffectClass() const throw() { return Effect::EFFECT_CLASS_PROTECTION_FROM_ACID; }	virtual string getEffectClassName() const throw() { return "EffectProtectionFromAcid"; }public:	virtual void load(Creature* pCreature) throw(Error);};extern EffectProtectionFromAcidLoader* g_pEffectProtectionFromAcidLoader;#endif // __EFFECT_PROTECTION_FROM_ACID__

⌨️ 快捷键说明

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