📄 vampexpinfo.h
字号:
////////////////////////////////////////////////////////////////////////////////// Filename : VampEXPInfo.h// Written By : beowulf// Description :////////////////////////////////////////////////////////////////////////////////#ifndef __VAMP_EXP_INFO_H__#define __VAMP_EXP_INFO_H__#include "Exception.h"#include "Types.h"////////////////////////////////////////////////////////////////////////////////// Class VampEXPInfo////////////////////////////////////////////////////////////////////////////////class VampEXPInfo {public: VampEXPInfo() throw(); ~VampEXPInfo() 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; } string toString() const throw();private: Level_t m_Level; // 饭骇 Exp_t m_GoalExp; // 格钎 版氰摹 Exp_t m_AccumExp; // 穿利 版氰摹};////////////////////////////////////////////////////////////////////////////////// Class VampEXPInfoManager////////////////////////////////////////////////////////////////////////////////class VampEXPInfoManager {public: VampEXPInfoManager() throw(); ~VampEXPInfoManager() throw();public: void init() throw(Error); void load() throw(Error); VampEXPInfo* getVampEXPInfo(uint VampEXPType) const throw(NoSuchElementException, OutOfBoundException, Error); void addVampEXPInfo(VampEXPInfo* pVampEXPInfo) throw(DuplicatedException, Error); string toString() const throw();private: uint m_VampEXPCount; VampEXPInfo** m_VampEXPInfoList; };// Global Variable Definitionextern VampEXPInfoManager* g_pVampEXPInfoManager;#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -