mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 22:37:45 +00:00
31 lines
521 B
C++
31 lines
521 B
C++
#ifndef _ACTIONTELEPORT_H_
|
|
#define _ACTIONTELEPORT_H_
|
|
|
|
#include "../Forwards.h"
|
|
#include "Action.h"
|
|
|
|
namespace Core {
|
|
namespace Action {
|
|
|
|
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
|