oustersexpinfo.h

来自「天之炼狱1服务器端源文件游戏服务端不完整」· C头文件 代码 · 共 75 行

H
75
字号
////////////////////////////////////////////////////////////////////////////////// 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 + =
减小字号Ctrl + -
显示快捷键?