effectaurashield.h

来自「天之炼狱1服务器端源文件游戏服务端不完整」· C头文件 代码 · 共 60 行

H
60
字号
//////////////////////////////////////////////////////////////////////////////// Filename    : EffectAuraShield.h// Written by  : crazydog// Description : //////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_AURA_SHIELD__#define __EFFECT_AURA_SHIELD__#include "Effect.h"#include "EffectLoader.h"//////////////////////////////////////////////////////////////////////////////// class EffectAuraShield//////////////////////////////////////////////////////////////////////////////class EffectAuraShield : public Effect {public:	EffectAuraShield(Creature* pCreature) throw(Error);public:    EffectClass getEffectClass() const throw() { return EFFECT_CLASS_AURA_SHIELD; }	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(Creature* pCreature) throw(Error);	void unaffect(Zone* pZone, ZoneCoord_t x, ZoneCoord_t y, Object* pObject) throw(Error);	void unaffect(Item* pItem) throw(Error) {}	void unaffect() throw(Error);	string toString() const throw();public:	Level_t getLevel() const throw() { return m_Level; }	void setLevel(Level_t Level) throw() { m_Level = Level; }private:	Level_t m_Level;};//////////////////////////////////////////////////////////////////////////////// class EffectAuraShieldLoader//////////////////////////////////////////////////////////////////////////////class EffectAuraShieldLoader : public EffectLoader {public:	virtual Effect::EffectClass getEffectClass() const throw() { return Effect::EFFECT_CLASS_AURA_SHIELD; }	virtual string getEffectClassName() const throw() { return "EffectAuraShield"; }public:	virtual void load(Creature* pCreature) throw(Error) {}};#endif // __EFFECT_AURA_SHIELD__

⌨️ 快捷键说明

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