📄 mouseitemposition.h
字号:
#ifndef __MOUSE_ITEM_POSITION_H__#define __MOUSE_ITEM_POSITION_H__#include "Types.h"#include "GlobalItemPosition.h"class Creature;class Zone;class MouseItemPosition : public GlobalItemPosition{public: MouseItemPosition() : GlobalItemPosition( POS_TYPE_MOUSE ){ m_bSetZone = false; } ~MouseItemPosition(){ }public: virtual Item* popItem( bool bLock = true ) throw(Error); virtual Zone* getZone() throw(Error); string getOwnerName() const { return m_OwnerName; } void setOwnerName( const string& ownerName ) { m_bSetZone = false; m_OwnerName = ownerName; }public: virtual string toString() const throw(Error);protected: Item* popItem_LOCKED() throw (Error); Item* popItem_UNLOCKED() throw (Error); Creature* findCreature() throw (Error); Zone* getZoneByCreature( Creature* pCreature ) throw (Error); Item* popItem_CORE( PlayerCreature* pPC ) throw (Error);private: string m_OwnerName; // getZone 阑 困茄...... Zone* m_pZone; bool m_bSetZone;};#endif // __MOUSE_ITEM_POSITION_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -