📄 effectpeace.h
字号:
//////////////////////////////////////////////////////////////////////////////// Filename : EffectPeace.h// Written by : elca@ewestsoft.com// Description : //////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_PEACE__#define __EFFECT_PEACE__#include "Effect.h"#include "EffectLoader.h"//////////////////////////////////////////////////////////////////////////////// class EffectPeace//////////////////////////////////////////////////////////////////////////////class EffectPeace : public Effect {public: // pCreature(唱)啊 pPeaceCreature茄抛 peace惑怕甫 蜡瘤茄促. EffectPeace(Creature* pCreature, ObjectID_t PeaceCreatureID) throw(Error);public: EffectClass getEffectClass() const throw() { return EFFECT_CLASS_PEACE; } 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: ObjectID_t getPeaceCreatureID() const throw() { return m_PeaceCreatureID; } void setPeaceCreatureID(ObjectID_t PeaceCreatureID) throw() { m_PeaceCreatureID = PeaceCreatureID; }private: ObjectID_t m_PeaceCreatureID;};#endif // __EFFECT_YELLOW_POISON_TO_CREATURE__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -