📄 globalitemposition.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 + -