LeviLamina
Loading...
Searching...
No Matches
CommandRegisterEvent.h
1#pragma once
2
3#include "ll/api/event/Event.h"
4
5#include "mc/server/commands/CommandRegistry.h"
6
7namespace ll::event::inline command {
8
9class CommandRegisterEvent : public Event {
10 CommandRegistry& mCommandRegistry;
11
12protected:
13 constexpr explicit CommandRegisterEvent(CommandRegistry& commandRegistry) : mCommandRegistry(commandRegistry) {}
14
15public:
16 LLAPI void serialize(CompoundTag&) const override;
17
18 LLNDAPI CommandRegistry& commandRegistry() const;
19};
20
21} // namespace ll::event::inline command
Definition CommandRegistry.h:50
Definition CompoundTag.h:23