📄 oustersexpinfo.h
字号:
////////////////////////////////////////////////////////////////////////////////// Filename : OustersEXPInfo.h// Written By : // Description :////////////////////////////////////////////////////////////////////////////////#ifndef __OUSTERS_EXP_INFO_H__#define __OUSTERS_EXP_INFO_H__#include "Exception.h"#include "Types.h"////////////////////////////////////////////////////////////////////////////////// Class OustersEXPInfo////////////////////////////////////////////////////////////////////////////////class OustersEXPInfo {public: OustersEXPInfo() throw(); ~OustersEXPInfo() throw();public: void setLevel(uint lev) throw() { m_Level = lev; } uint getLevel() const throw() { return m_Level; } void setGoalExp(Exp_t sum) throw() { m_GoalExp = sum; } uint getGoalExp() const throw() { return m_GoalExp; } void setAccumExp(Exp_t accum) throw() { m_AccumExp = accum ; } uint getAccumExp() const throw() { return m_AccumExp; } void setSkillPointBonus(SkillBonus_t SkillBonus) throw() { m_SkillPointBonus = SkillBonus; } SkillBonus_t getSkillPointBonus() const throw() { return m_SkillPointBonus; } string toString() const throw();private: Level_t m_Level; // 饭骇 Exp_t m_GoalExp; // 格钎 版氰摹 Exp_t m_AccumExp; // 穿利 版氰摹 SkillBonus_t m_SkillPointBonus; // 饭骇诀矫 胶懦 焊呈胶 器牢飘};////////////////////////////////////////////////////////////////////////////////// Class OustersEXPInfoManager////////////////////////////////////////////////////////////////////////////////class OustersEXPInfoManager {public: OustersEXPInfoManager() throw(); ~OustersEXPInfoManager() throw();public: void init() throw(Error); void load() throw(Error); OustersEXPInfo* getOustersEXPInfo(uint OustersEXPType) const throw(NoSuchElementException, OutOfBoundException, Error); void addOustersEXPInfo(OustersEXPInfo* pOustersEXPInfo) throw(DuplicatedException, Error); string toString() const throw();private: uint m_OustersEXPCount; OustersEXPInfo** m_OustersEXPInfoList; };// Global Variable Definitionextern OustersEXPInfoManager* g_pOustersEXPInfoManager;#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -