📄 vampireskillslot.h
字号:
//////////////////////////////////////////////////////////////////////////////// Filename : VampireSkillSlot.h// Written by : elca@ewestsoft.com// Description : //////////////////////////////////////////////////////////////////////////////#ifndef __VAMPIRE_SKILL_SLOT_H__#define __VAMPIRE_SKILL_SLOT_H__#include "Types.h"#include "Timeval.h"#include "Skill.h"#include "Exception.h"//////////////////////////////////////////////////////////////////////////////// Class VampireSkillSlot;//////////////////////////////////////////////////////////////////////////////class VampireSkillSlot {public: VampireSkillSlot() throw(); VampireSkillSlot(SkillType_t SkillType, ulong Interval, ulong CastingTime) throw(); virtual ~VampireSkillSlot() throw();public: virtual void save(const string & ownerID) throw(Error); virtual void save() throw(Error); virtual void create(const string & ownerID) throw(Error); SkillType_t getSkillType() throw() { return m_SkillType; } void setSkillType(SkillType_t Type) throw() { m_SkillType = Type; } ulong getInterval() throw() { return m_Interval; } void setInterval(ulong Interval) throw() { m_Interval = Interval; } Turn_t getCastingTime() throw() { return m_CastingTime; } void setCastingTime(Turn_t CastingTime) throw() { m_CastingTime = CastingTime; } Timeval getRunTime() throw() { return m_runTime; } void setRunTime() throw(); void setRunTime(Turn_t delay) throw(); string getName() const throw() { return m_Name; } void setName(const string & Name) { m_Name = Name; } // 促澜 某胶泼捞 啊瓷且锭鳖瘤 巢篮 矫埃 Turn_t getRemainTurn( Timeval currentTime ) const throw();private: string m_Name; SkillType_t m_SkillType; // 付过, 扁贱狼 辆幅 Turn_t m_Interval; // 付过, 扁贱狼 掉饭捞, 檬 窜困 Turn_t m_CastingTime; // 某胶泼 鸥烙... 0.1檬 窜困 Timeval m_runTime; // 促澜俊 镜 荐 乐绰 矫埃};#endif // __VAMPIRE_SKILL_SLOT_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -