⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 volumeinfo.h

📁 天之炼狱1服务器端源文件游戏服务端不完整
💻 H
字号:
////////////////////////////////////////////////////////////////////////////////// Filename    : VolumeInfo.h// Written By  : Elca// Description :////////////////////////////////////////////////////////////////////////////////#ifndef __VOLUMEINFO_H__#define __VOLUMEINFO_H__#include "Types.h"#define MAX_VOLUME_TYPE	7////////////////////////////////////////////////////////////////////////////////// Class VolumeInfo////////////////////////////////////////////////////////////////////////////////class VolumeInfo {public:	VolumeInfo(VolumeType_t volumeType, VolumeWidth_t volumeWidth, VolumeHeight_t volumeHeight) throw();	~VolumeInfo() throw();public:	// get/set volume width	VolumeWidth_t getVolumeWidth() const throw() { return m_VolumeWidth; }	void setVolumeWidth(VolumeWidth_t volumeWidth) throw() { m_VolumeWidth = volumeWidth; }	// get/set volume height	VolumeHeight_t getVolumeHeight() const throw() { return m_VolumeHeight; }	void setVolumeHeight(VolumeHeight_t volumeHeight) throw() { m_VolumeHeight = volumeHeight; }	// get debug string	string toString() throw();private:	VolumeType_t   m_VolumeType;	VolumeWidth_t  m_VolumeWidth;	VolumeHeight_t m_VolumeHeight;};////////////////////////////////////////////////////////////////////////////////// Class VolumeInfoManager////////////////////////////////////////////////////////////////////////////////class VolumeInfoManager {public:	VolumeInfoManager() throw();	~VolumeInfoManager() throw();	public:	void init() throw();	VolumeInfo* getVolumeInfo(VolumeType_t VolumeType) const throw() { return m_VolumeInfo[VolumeType]; }	string toString() throw();private:	VolumeInfo* m_VolumeInfo[MAX_VOLUME_TYPE];};extern VolumeInfoManager* g_pVolumeInfoManager;#endif	// __VOLUME_INFO_MANAGER_H__

⌨️ 快捷键说明

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