actionturnonflag.h
来自「天之炼狱1服务器端源文件游戏服务端不完整」· C头文件 代码 · 共 45 行
H
45 行
//////////////////////////////////////////////////////////////////////////////// Filename : ActionTurnOnFlag.h// Written By : excel96// Description : //////////////////////////////////////////////////////////////////////////////#ifndef __ACTION_TURN_ON_FLAG_H__#define __ACTION_TURN_ON_FLAG_H__#include "Types.h"#include "Exception.h"#include "Action.h"#include "ActionFactory.h"//////////////////////////////////////////////////////////////////////////////// class ActionTurnOnFlag//////////////////////////////////////////////////////////////////////////////class ActionTurnOnFlag : public Action {public: virtual ActionType_t getActionType() const throw() { return ACTION_TURN_ON_FLAG; } virtual void read(PropertyBuffer & propertyBuffer) throw(Error); virtual void execute(Creature* pCreature1, Creature* pCreature2 = NULL) throw(Error); virtual string toString() const throw();private: uint m_Index;};//////////////////////////////////////////////////////////////////////////////// class ActionTurnOnFlagFactory;//////////////////////////////////////////////////////////////////////////////class ActionTurnOnFlagFactory : public ActionFactory {public: virtual ActionType_t getActionType() const throw() { return Action::ACTION_TURN_ON_FLAG; } virtual string getActionName() const throw() { return "TurnOnFlag"; } virtual Action* createAction() const throw() { return new ActionTurnOnFlag(); }};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?