LeviLamina
Loading...
Searching...
No Matches
EventCommand.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/server/commands/Command.h"
7
#include "mc/server/commands/CommandSelector.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
Actor
;
12
class
CommandOrigin
;
13
class
CommandOutput
;
14
class
CommandRegistry
;
15
// clang-format on
16
17
class
EventCommand
:
public
::Command
{
18
public
:
19
// EventCommand inner types define
20
enum class
EventAction : uchar {
21
Entity = 0,
22
};
23
24
public
:
25
// member variables
26
// NOLINTBEGIN
27
::ll::TypedStorage<1, 1, ::EventCommand::EventAction> mAction;
28
::ll::TypedStorage<8, 200, ::CommandSelector<::Actor>> mTargets;
29
::ll::TypedStorage<8, 32, ::std::string> mEventName;
30
// NOLINTEND
31
32
public
:
33
// virtual functions
34
// NOLINTBEGIN
35
virtual
void
execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
/*override*/
;
36
// NOLINTEND
37
38
public
:
39
// static functions
40
// NOLINTBEGIN
41
MCAPI
static
void
setup(
::CommandRegistry
& registry);
42
// NOLINTEND
43
44
public
:
45
// virtual function thunks
46
// NOLINTBEGIN
47
MCAPI
void
$execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
;
48
49
50
// NOLINTEND
51
};
Actor
Definition
Actor.h:113
CommandOrigin
Definition
CommandOrigin.h:32
CommandOutput
Definition
CommandOutput.h:20
CommandRegistry
Definition
CommandRegistry.h:51
Command
Definition
Command.h:17
EventCommand
Definition
EventCommand.h:17
src
mc
server
commands
standard
EventCommand.h
Generated on
for LeviLamina by
1.16.1