L2Bot2.0/L2BotDll/Events/SkillCancelledEvent.h
2023-01-16 15:33:32 +04:00

32 lines
507 B
C++

#pragma once
#include <cstdint>
#include "Event.h"
class SkillCancelledEvent : public Event
{
public:
static constexpr const char* name = "skillCancelled";
const std::string GetName() const
{
return std::string(name);
}
const uint32_t GetInitiatorId() const
{
return m_InitiatorId;
}
SkillCancelledEvent(const uint32_t initiatorId) :
m_InitiatorId(initiatorId)
{
}
SkillCancelledEvent() = delete;
virtual ~SkillCancelledEvent() = default;
private:
const uint32_t m_InitiatorId;
};