effectprecedence.h

来自「天之炼狱1服务器端源文件游戏服务端不完整」· C头文件 代码 · 共 57 行

H
57
字号
//////////////////////////////////////////////////////////////////////////////// Filename    : EffectPrecedence.h// Written by  : elca// Description ://////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_PRECEDENCE_H__#define __EFFECT_PRECEDENCE_H__#include "Effect.h"//////////////////////////////////////////////////////////////////////////////// class EffectPrecedence;//////////////////////////////////////////////////////////////////////////////class EffectPrecedence : public Effect {public:	EffectPrecedence(Creature* pCreature) throw(Error);	EffectPrecedence(Item* pItem) throw(Error);	public:	virtual EffectClass getEffectClass() const throw() { return EFFECT_CLASS_PRECEDENCE; }	// OBJECT_PRIORITY_NONE 扼绰 舵篮, 鸥老俊 甸绢啊辑绰 救等促绰 舵捞促.	virtual ObjectPriority getObjectPriority() const throw() { return OBJECT_PRIORITY_NONE; }	virtual void affect() throw(Error);	virtual void affect(Creature* pCreature) throw(Error);	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(Zone* pZone, ZoneCoord_t x, ZoneCoord_t y, Object* pTarget) throw(Error);	void unaffect(Item* pItem) throw(Error) {}	void create(const string & ownerID) throw(Error) {}	void save(const string & ownerID) throw(Error) {}	void destroy(const string & ownerID) throw(Error) {}		virtual string toString() const throw();public:	string getHostName(void) const { return m_HostName; }	void setHostName(const string& ID) { m_HostName = ID; }	int getHostPartyID(void) const { return m_HostPartyID; }	void setHostPartyID(int ID) { m_HostPartyID = ID; }private:	string m_HostName;	int    m_HostPartyID;	bool   m_bItem;};#endif

⌨️ 快捷键说明

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