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
11class Actor;
12class CommandOrigin;
13class CommandOutput;
14class CommandRegistry;
15// clang-format on
16
17class EventCommand : public ::Command {
18public:
19 // EventCommand inner types define
20 enum class EventAction : uchar {
21 Entity = 0,
22 };
23
24public:
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
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
36
37 virtual ~EventCommand() /*override*/ = default;
38 // NOLINTEND
39
40public:
41 // static functions
42 // NOLINTBEGIN
43 MCAPI static void setup(::CommandRegistry& registry);
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
50
51
52 // NOLINTEND
53
54public:
55 // vftables
56 // NOLINTBEGIN
57 MCNAPI static void** $vftable();
58 // NOLINTEND
59};
Definition Actor.h:105
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:47
Definition Command.h:17
Definition EventCommand.h:17
static MCAPI void ** $vftable()