refactor: move events and service locator into core project
This commit is contained in:
22
L2BotCore/Domain/Events/HeroCreatedEvent.h
Normal file
22
L2BotCore/Domain/Events/HeroCreatedEvent.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
#include "Event.h"
|
||||
|
||||
namespace L2Bot::Domain::Events
|
||||
{
|
||||
class HeroCreatedEvent : public Event
|
||||
{
|
||||
public:
|
||||
static constexpr const char* name = "heroCreated";
|
||||
|
||||
const std::string GetName() const
|
||||
{
|
||||
return std::string(name);
|
||||
}
|
||||
|
||||
HeroCreatedEvent() = default;
|
||||
virtual ~HeroCreatedEvent() = default;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user