effecthasrelic.h
来自「天之炼狱1服务器端源文件游戏服务端不完整」· C头文件 代码 · 共 49 行
H
49 行
//////////////////////////////////////////////////////////////////////////////// Filename : EffectHasRelic.h// Written by : // Description : //////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_HAS_RELIC__#define __EFFECT_HAS_RELIC__#include "Effect.h"//////////////////////////////////////////////////////////////////////////////// class EffectHasRelic//////////////////////////////////////////////////////////////////////////////class EffectHasRelic : public Effect {public: EffectHasRelic(Creature* pCreature) throw(Error); EffectHasRelic(Item* pItem) throw(Error);public: virtual EffectClass getEffectClass() const throw() = 0; virtual EffectClass getSendEffectClass() const throw() { return (EffectClass)((int)getEffectClass() + m_Part); } virtual void affect() throw(Error); virtual void affect(Creature* pCreature) throw(Error) = 0; virtual void affect(Item* pItem) throw(Error) =0; virtual void unaffect(Creature* pCreature) throw(Error); virtual void unaffect(Item* pItem) throw(Error); virtual void unaffect() throw(Error); virtual string toString() const throw() = 0;public: int getPart(void) const { return m_Part; } virtual void setPart(int part) throw() { m_Part = part; } int getTick(void) const { return m_Tick; } void setTick(Turn_t Tick) throw() { m_Tick = Tick; }protected: int m_Part; // 乔狼 己辑 炼阿 锅龋 Turn_t m_Tick;};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?