1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-13 22:17:45 +00:00
sapphire/src/servers/sapphire_zone/Action/ActionTeleport.h

34 lines
484 B
C
Raw Normal View History

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