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

📄 actionsaydynamic.h

📁 天之炼狱1服务器端源文件游戏服务端不完整
💻 H
字号:
//////////////////////////////////////////////////////////////////////////////// Filename    : ActionSayDynamic.h// Written By  : excel96// Description : //////////////////////////////////////////////////////////////////////////////#ifndef __ACTION_SAY_DYNAMIC_H__#define __ACTION_SAY_DYNAMIC_H__#include "Action.h"#include "ActionFactory.h"//////////////////////////////////////////////////////////////////////////////// class ActionSayDynamic//////////////////////////////////////////////////////////////////////////////class ActionSayDynamic : public Action {public:	virtual ActionType_t getActionType() const throw() { return ACTION_SAY_DYNAMIC; }	virtual void read(PropertyBuffer & propertyBuffer) throw(Error);	virtual void execute(Creature* pCreature1, Creature* pCreature2 = NULL) throw(Error);	virtual string toString() const throw();public:	ScriptID_t getScriptID() const throw() { return m_ScriptID; }	void setScriptID(ScriptID_t scriptID) throw() { m_ScriptID = scriptID; }private:	ScriptID_t m_ScriptID;   // 富且 措荤 酒捞叼};//////////////////////////////////////////////////////////////////////////////// class ActionSayDynamicFactory;//////////////////////////////////////////////////////////////////////////////class ActionSayDynamicFactory : public ActionFactory {public:	virtual ActionType_t getActionType() const throw() { return Action::ACTION_SAY_DYNAMIC; }	virtual string getActionName() const throw() { return "SayDynamic"; }	virtual Action* createAction() const throw() { return new ActionSayDynamic(); }};#endif

⌨️ 快捷键说明

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