1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-31 13:37:45 +00:00
sapphire/src/world/Action/MountAction.h
2020-03-01 11:58:26 +11:00

25 lines
482 B
C++

#ifndef SAPPHIRE_MOUNTACTION_H
#define SAPPHIRE_MOUNTACTION_H
#include "Action.h"
namespace Sapphire::World::Action
{
class MountAction : public Action
{
public:
MountAction( Entity::CharaPtr source, uint16_t mountId, uint16_t sequence, Data::ActionPtr actionData );
virtual ~MountAction() = default;
bool preCheck() override;
void start() override;
void execute() override;
private:
uint16_t m_mountId;
};
}
#endif //SAPPHIRE_MOUNTACTION_H