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