1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-06-03 14:57:44 +00:00
sapphire/src/world/Action/MountAction.h

26 lines
499 B
C
Raw Normal View History

2020-01-23 22:36:01 +09:00
#ifndef SAPPHIRE_MOUNTACTION_H
#define SAPPHIRE_MOUNTACTION_H
#include "Action.h"
namespace Sapphire::World::Action
{
class MountAction : public Action
{
public:
2020-01-23 22:43:16 +09:00
MountAction( Entity::CharaPtr source, uint16_t mountId, uint16_t sequence, Data::ActionPtr actionData, FrameworkPtr fw );
2020-01-23 22:36:01 +09:00
virtual ~MountAction() = default;
bool preCheck() override;
void start() override;
void execute() override;
private:
2020-01-23 22:43:16 +09:00
uint16_t m_mountId;
2020-01-23 22:36:01 +09:00
};
}
#endif //SAPPHIRE_MOUNTACTION_H