oustersskillslot.h

来自「dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 」· C头文件 代码 · 共 63 行

H
63
字号
//////////////////////////////////////////////////////////////////////////////// Filename    : OustersSkillSlot.h// Written by  :// Description : //////////////////////////////////////////////////////////////////////////////#ifndef __OUSTERS_SKILL_SLOT_H__#define __OUSTERS_SKILL_SLOT_H__#include "Types.h"#include "Timeval.h"#include "Skill.h"#include "Exception.h"//////////////////////////////////////////////////////////////////////////////// Class OustersSkillSlot;//////////////////////////////////////////////////////////////////////////////class OustersSkillSlot {public:    OustersSkillSlot() throw();    OustersSkillSlot(SkillType_t SkillType, ulong Interval, ulong CastingTime) throw();    ~OustersSkillSlot() throw();public:	void save(const string & ownerID) throw(Error);	void save() throw(Error);	void create(const string & ownerID) throw(Error);    SkillType_t getSkillType() throw() { return m_SkillType; }    void setSkillType(SkillType_t Type) throw() { m_SkillType = Type; }	ExpLevel_t getExpLevel() const throw() { return m_ExpLevel; }	void setExpLevel( ExpLevel_t ExpLevel ) throw() { m_ExpLevel = ExpLevel; }    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;   // 付过, 扁贱狼 辆幅	ExpLevel_t   m_ExpLevel;    // 胶懦 饭骇	Turn_t       m_Interval;    // 付过, 扁贱狼 掉饭捞, 檬 窜困	Turn_t       m_CastingTime; // 某胶泼 鸥烙... 0.1檬 窜困	Timeval      m_runTime;     // 促澜俊 镜 荐 乐绰 矫埃};#endif // __OUSTERS_SKILL_SLOT_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?