📄 effectcoma.h
字号:
//////////////////////////////////////////////////////////////////////////////// Filename : EffectComa.h// Written by : excel96// Description : // 浇饭捞绢唱 轨颇捞绢啊 磷菌阑 锭, 吧府绰 捞棋飘.// 捞 捞棋飘啊 吧赴 浇饭捞绢绰 框流老 荐 绝栏哥, 酒捞袍 棺 扁贱阑 荤侩且 // 荐 绝栏哥, 富档 且 荐 绝促.// (CGMove, CGUseItem, CGSkillTo..., CGSay)//////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_COMA__#define __EFFECT_COMA__#include "Effect.h"#include "EffectLoader.h"//////////////////////////////////////////////////////////////////////////////// class EffectComa//////////////////////////////////////////////////////////////////////////////class EffectComa : public Effect {public: EffectComa(Creature* pCreature) throw(Error); ~EffectComa() throw(Error);public: EffectClass getEffectClass() const throw() { return EFFECT_CLASS_COMA; } void affect() throw(Error); void affect(Creature* pCreature) throw(Error); void unaffect() throw(Error); void unaffect(Creature* pCreature) throw(Error); virtual void create(const string & ownerID) throw(Error); virtual void save(const string & ownerID) throw(Error); virtual void destroy(const string & ownerID) throw(Error); string toString() const throw();public: Timeval getStartTime(void) const { return m_StartTime; } void setStartTime(void); bool canResurrect(void);private: Timeval m_StartTime;};//////////////////////////////////////////////////////////////////////////////// class EffectComaLoader//////////////////////////////////////////////////////////////////////////////class EffectComaLoader : public EffectLoader {public: virtual Effect::EffectClass getEffectClass() const throw() { return Effect::EFFECT_CLASS_COMA; } virtual string getEffectClassName() const throw() { return "EffectComa"; }public: virtual void load(Creature* pCreature) throw(Error);};extern EffectComaLoader* g_pEffectComaLoader;#endif // __EFFECT_COMA__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -