effectrevealer.h
来自「dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 」· C头文件 代码 · 共 54 行
H
54 行
//////////////////////////////////////////////////////////////////////////////// Filename : EffectRevealer.h// Written by : elca@ewestsoft.com// Description ://////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_REVEALER__#define __EFFECT_REVEALER__#include "Effect.h"#include "EffectLoader.h"class Creature;class Slayer;//////////////////////////////////////////////////////////////////////////////// class EffectRevealer//////////////////////////////////////////////////////////////////////////////class EffectRevealer : public Effect {public: EffectRevealer(Creature* pCreature) throw(Error);public: EffectClass getEffectClass() const throw() { return EFFECT_CLASS_REVEALER; } 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: void setSkillLevel( ExpLevel_t level ) throw() { m_SkillLevel = level; } bool canSeeHide( Creature* pTarget ) const throw(Error); bool canSeeSniping( Creature* pTarget ) const throw(Error); bool canSeeInvisibility( Creature* pTarget ) const throw(Error);private: ExpLevel_t m_SkillLevel;};#endif // __EFFECT_REVEALER__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?