📄 effectdecreasehp.h
字号:
//////////////////////////////////////////////////////////////////////////////// Filename : EffectDecreaseHP.h// Written by : excel96// Description ://////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_DECREASE_HP__#define __EFFECT_DECREASE_HP__#include "Effect.h"#include "EffectLoader.h"//////////////////////////////////////////////////////////////////////////////// class EffectDecreaseHP//////////////////////////////////////////////////////////////////////////////class EffectDecreaseHP : public Effect {public: EffectDecreaseHP(Creature* pCreature) throw(Error);public: EffectClass getEffectClass() const throw() { return EFFECT_CLASS_DECREASE_HP; } 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: HP_t getPoint() const throw() { return m_Point; } void setPoint(HP_t Point) throw() { m_Point = Point; } void setUserObjectID(ObjectID_t oid) throw() { m_UserObjectID = oid; } ObjectID_t getUserObjectID() const throw() { return m_UserObjectID; }private: HP_t m_Point; ObjectID_t m_UserObjectID;};#endif // __EFFECT_DECREASE_HP__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -