effectpeace.h

来自「天之炼狱1服务器端源文件游戏服务端不完整」· C头文件 代码 · 共 47 行

H
47
字号
//////////////////////////////////////////////////////////////////////////////// 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 + =
减小字号Ctrl + -
显示快捷键?