mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-15 15:07:45 +00:00
26 lines
No EOL
561 B
C++
26 lines
No EOL
561 B
C++
#pragma once
|
|
|
|
#include "Action.h"
|
|
#include <Exd/Structs.h>
|
|
|
|
namespace Sapphire::World::Action
|
|
{
|
|
class ItemManipulationAction : public Action
|
|
{
|
|
public:
|
|
ItemManipulationAction( Entity::CharaPtr source, uint32_t actionId, uint16_t sequence,
|
|
std::shared_ptr< Excel::ExcelStruct< Excel::Action > > actionData, uint32_t delayTime );
|
|
virtual ~ItemManipulationAction() = default;
|
|
|
|
void start() override;
|
|
|
|
void execute() override;
|
|
|
|
bool update() override;
|
|
|
|
private:
|
|
void onFinish();
|
|
|
|
uint32_t m_delayTimeMs{};
|
|
};
|
|
} |