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
7
namespace
ll::event::inline command {
8
9
class
CommandRegisterEvent :
public
Event {
10
CommandRegistry
& mCommandRegistry;
11
12
protected
:
13
constexpr
explicit
CommandRegisterEvent(
CommandRegistry
& commandRegistry) : mCommandRegistry(commandRegistry) {}
14
15
public
:
16
LLAPI
void
serialize(
CompoundTag
&)
const override
;
17
18
LLNDAPI
CommandRegistry
& commandRegistry()
const
;
19
};
20
21
}
// namespace ll::event::inline command
CommandRegistry
Definition
CommandRegistry.h:50
CompoundTag
Definition
CompoundTag.h:23
src
ll
api
event
command
CommandRegisterEvent.h
Generated on
for LeviLamina by
1.16.1