1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-06-01 22:07:45 +00:00
sapphire/src/world/Action/MountAction.h

26 lines
482 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-03-01 01:00:57 +11:00
MountAction( Entity::CharaPtr source, uint16_t mountId, uint16_t sequence, Data::ActionPtr actionData );
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