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