1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 06:47:45 +00:00
sapphire/src/servers/Server_Zone/Action/ActionTeleport.h

32 lines
521 B
C
Raw Normal View History

2017-08-08 13:53:47 +02:00
#ifndef _ACTIONTELEPORT_H_
#define _ACTIONTELEPORT_H_
#include "../Forwards.h"
2017-08-08 13:53:47 +02:00
#include "Action.h"
namespace Core {
namespace Action {
2017-08-08 13:53:47 +02:00
class ActionTeleport : public Action
{
private:
uint16_t m_targetAetheryte;
uint16_t m_cost;
public:
ActionTeleport();
~ActionTeleport();
ActionTeleport( Entity::ActorPtr pActor, uint16_t action, uint16_t cost );
void onStart() override;
void onFinish() override;
void onInterrupt() override;
};
}
}
#endif