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

📄 globalitemposition.h

📁 天之炼狱1服务器端源文件游戏服务端不完整
💻 H
字号:
#ifndef __GLOBAL_ITEM_POSITION_H__#define __GLOBAL_ITEM_POSITION_H__#include "Types.h"#include "Exception.h"class Zone;class Item;class GlobalItemPosition{public:	enum PositionType	{		POS_TYPE_ZONE,		// 0		POS_TYPE_INVENTORY,	// 1		POS_TYPE_MOUSE,		// 2		POS_TYPE_CORPSE,	// 3	};protected:	// 捞 努贰胶甫 流立 积己且 荐绰 绝促.	GlobalItemPosition( PositionType type ) : m_ItemPosType( type ) { }public:	virtual ~GlobalItemPosition(){ };public:	void			setType( PositionType type ) { m_ItemPosType = type; }	PositionType	getType() const { return m_ItemPosType; }public:	// 酒捞袍阑 惶酒辰促.	virtual Item*	popItem( bool bLock = true ) throw(Error) = 0;	virtual Zone*	getZone() throw(Error) = 0;public:	virtual string	toString() const throw(Error) = 0;private:	PositionType	m_ItemPosType;};#endif // __GLOBAL_ITEM_POSITION_H__

⌨️ 快捷键说明

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