📄 effectfadeout.h
字号:
//////////////////////////////////////////////////////////////////////////////// Filename : EffectFadeOut.h// Written by : elca@ewestsoft.com// Description : // 焙牢扁贱 Sniping 肚绰 轨颇捞绢 扁贱 Invisibility肺 牢秦辑// 泅犁 痢痢 锐固秦廉啊绊 乐绰(荤扼瘤绊 乐绰) 农府媚俊 嘿绰 捞棋飘捞促.//////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_FADE_OUT__#define __EFFECT_FADE_OUT__#include "Effect.h"#include "EffectLoader.h"//////////////////////////////////////////////////////////////////////////////// class EffectFadeOut//////////////////////////////////////////////////////////////////////////////class EffectFadeOut : public Effect {public: EffectFadeOut(Creature* pCreature) throw(Error);public: EffectClass getEffectClass() const throw() { return EFFECT_CLASS_FADE_OUT; } 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(Item* pItem) throw(Error){} void unaffect(Creature* pCreature) throw(Error); void unaffect(Zone* pZone, ZoneCoord_t x, ZoneCoord_t y, Object* pObject) throw(Error); string toString() const throw();public: Duration_t getDuration() const throw(Error) { return m_Duration;} void setDuration(Duration_t d) throw(Error) { m_Duration = d;} bool isSniping(void) const { return m_isSniping; } void setSniping() throw() { m_isSniping = true; } bool isInvisibility(void) const { return !m_isSniping; } void setInvisibility() throw() { m_isSniping = false; }private: Duration_t m_Duration; bool m_isSniping;};#endif // __EFFECT_FADE_OUT__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -