📄 effectvampireportal.h
字号:
//////////////////////////////////////////////////////////////////////////////// Filename : EffectVampirePortal.h// Written by : excel96// Description : // 轨颇捞绢啊 器呕阑 凯 版快, 器呕阑 楷 镑苞 格钎 瘤痢俊 悼矫俊 积扁绰// 鸥老俊 嘿篮 轨颇捞绢 器呕 捞棋飘捞促.//////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_VAMPIRE_PORTAL__#define __EFFECT_VAMPIRE_PORTAL__#include "Effect.h"#include "EffectLoader.h"#include "Tile.h"#include "Mutex.h"//////////////////////////////////////////////////////////////////////////////// class EffectVampirePortal//////////////////////////////////////////////////////////////////////////////class VampirePortalItem;class EffectVampirePortal : public Effect {public: EffectVampirePortal(Zone* pZone, ZoneCoord_t x, ZoneCoord_t y) throw(Error);public: EffectClass getEffectClass() const throw() { return EFFECT_CLASS_VAMPIRE_PORTAL; } 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(Zone* pZone, ZoneCoord_t x, ZoneCoord_t y, Object* pObject ) throw(Error); void unaffect(Item* pItem) throw(Error) {} string toString() const throw();public: string getOwnerID(void) const { return m_OwnerID; } void setOwnerID(string ownerID) { m_OwnerID = ownerID; } ZONE_COORD getZoneCoord(void) const { return m_ZoneCoord; } void setZoneCoord(ZONE_COORD& rCoord) { m_ZoneCoord = rCoord; } void setZoneCoord(ZoneID_t id, ZoneCoord_t x, ZoneCoord_t y) { m_ZoneCoord.id = id; m_ZoneCoord.x = x; m_ZoneCoord.y = y; } Duration_t getDuration() const { return m_Duration;} void setDuration(Duration_t d) { m_Duration = d;} int getCount(void) const { return m_Count; } void setCount(int count) { m_Count = count; }private: string m_OwnerID; // 捞 器呕狼 林牢 ZONE_COORD m_ZoneCoord; // 器呕狼 格钎 粮 ID 棺 谅钎 Duration_t m_Duration; // 付过狼 瘤加 矫埃 int m_Count; // 捞 器呕阑 荤侩且 荐 乐绰 弥措 冉荐};#endif // __EFFECT_VAMPIRE_PORTAL__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -