📄 effectadditem.h
字号:
//////////////////////////////////////////////////////////////////////////////// Filename : EffectAddItem.h// Written by : Reiot// Description ://////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_ADD_ITEM_H__#define __EFFECT_ADD_ITEM_H__#include "Effect.h"//////////////////////////////////////////////////////////////////////////////// class EffectAddItem;// 老沥 矫埃捞 瘤唱搁 官蹿俊 乐绰 酒捞袍篮 荤扼瘤绰单, 弊甫 困茄 捞棋飘捞促.//////////////////////////////////////////////////////////////////////////////class Item;class EffectAddItem : public Effect {public: EffectAddItem(Zone* pZone, ZoneCoord_t x, ZoneCoord_t y, Item* pItem, Turn_t delay, bool bAllowCreature=true) throw(Error); virtual ~EffectAddItem() throw(Error);public: virtual EffectClass getEffectClass() const throw() { return EFFECT_CLASS_ADD_ITEM; } // OBJECT_PRIORITY_NONE 扼绰 舵篮, 鸥老俊 甸绢啊辑绰 救等促绰 舵捞促. virtual ObjectPriority getObjectPriority() const throw() { return OBJECT_PRIORITY_NONE; } virtual void affect() throw(Error) { throw UnsupportedError(); } virtual void affect(Creature* pCreature) throw(Error) { throw UnsupportedError(); } virtual void affect(Item* pItem) throw(Error) { throw UnsupportedError();} virtual void affect(Zone* pZone, ZoneCoord_t x, ZoneCoord_t y, Object* pTarget) throw(Error); virtual void unaffect() throw(Error); virtual void unaffect(Creature* pCreature) throw(Error); virtual void unaffect(Item* pItem = NULL) throw(Error) { throw UnsupportedError();} virtual void unaffect(Zone* pZone, ZoneCoord_t x, ZoneCoord_t y, Object* pTarget) throw(Error); virtual void create(const string & ownerID) throw(Error) {} virtual void save(const string & ownerID) throw(Error) {} virtual void destroy(const string & ownerID) throw(Error) {} // get debug string virtual string toString() const throw();private: ObjectID_t m_ObjectID; bool m_bAllowCreature;};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -