?? actionsay.h
字號:
//////////////////////////////////////////////////////////////////////////////// Filename : ActionSay.h// Written By : // Description :// Creature啊 林絹柳 措葷甫 富茄促. 撈 措葷綽 農府貿狼 贛府 困狼 富淺急欄肺// 免仿等促.//////////////////////////////////////////////////////////////////////////////#ifndef __ACTION_SAY_H__#define __ACTION_SAY_H__#include "Types.h"#include "Exception.h"#include "Action.h"#include "ActionFactory.h"//////////////////////////////////////////////////////////////////////////////// class ActionSay;//////////////////////////////////////////////////////////////////////////////class ActionSay : public Action {public: virtual ActionType_t getActionType() const throw() { return ACTION_SAY; } 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 ActionSayFactory;//////////////////////////////////////////////////////////////////////////////class ActionSayFactory : public ActionFactory {public: virtual ActionType_t getActionType() const throw() { return Action::ACTION_SAY; } virtual string getActionName() const throw() { return "Say"; } virtual Action* createAction() const throw() { return new ActionSay(); }};#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -