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

📄 actionwarptonovicezone.h

📁 天之炼狱1服务器端源文件游戏服务端不完整
💻 H
字号:
//////////////////////////////////////////////////////////////////////////////// Filename    : ActionWarpToNoviceZone.h// Written By  : excel96// Description : // Creature啊 PC俊霸 龙巩阑 带柳促. 捞 措荤绰 NPC 措拳芒俊 免仿等促.//////////////////////////////////////////////////////////////////////////////#ifndef __ACTION_WARP_TO_NOVICE_ZONE_H__#define __ACTION_WARP_TO_NOVICE_ZONE_H__#include "Types.h"#include "Exception.h"#include "Action.h"#include "ActionFactory.h"//////////////////////////////////////////////////////////////////////////////// class ActionWarpToNoviceZone//////////////////////////////////////////////////////////////////////////////class ActionWarpToNoviceZone : public Action {public:	virtual ActionType_t getActionType() const throw() { return ACTION_WARP_TO_NOVICE_ZONE; }	virtual void read(PropertyBuffer & propertyBuffer) throw(Error);	virtual void execute(Creature* pCreature1, Creature* pCreature2 = NULL) throw(Error);	virtual string toString() const throw();public:	ZoneID_t    getNoviceZoneID(void) const throw() { return m_NoviceZoneID; }	ZoneCoord_t getNoviceX(void) const throw() { return m_NoviceX; }	ZoneCoord_t getNoviceY(void) const throw() { return m_NoviceY; }	ZoneID_t    getBeginnerZoneID(void) const throw() { return m_BeginnerZoneID; }	ZoneCoord_t getBeginnerX(void) const throw() { return m_BeginnerX; }	ZoneCoord_t getBeginnerY(void) const throw() { return m_BeginnerY; }private:	ZoneID_t    m_NoviceZoneID;	ZoneCoord_t m_NoviceX;	ZoneCoord_t m_NoviceY;	ZoneID_t    m_BeginnerZoneID;	ZoneCoord_t m_BeginnerX;	ZoneCoord_t m_BeginnerY;};//////////////////////////////////////////////////////////////////////////////// class ActionWarpToNoviceZoneFactory;//////////////////////////////////////////////////////////////////////////////class ActionWarpToNoviceZoneFactory : public ActionFactory {public:	virtual ActionType_t getActionType() const throw() { return Action::ACTION_WARP_TO_NOVICE_ZONE; }	virtual string getActionName() const throw() { return "WarpToNoviceZone"; }	virtual Action* createAction() const throw() { return new ActionWarpToNoviceZone(); }};#endif

⌨️ 快捷键说明

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