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 // vIndex: 2
36 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
37
38 // vIndex: 0
39 virtual ~EventCommand() /*override*/ = default;
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCAPI static void setup(::CommandRegistry& registry);
46 // NOLINTEND
47
48public:
49 // destructor thunk
50 // NOLINTBEGIN
51
52 // NOLINTEND
53
54public:
55 // virtual function thunks
56 // NOLINTBEGIN
57 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
58 // NOLINTEND
59
60public:
61 // vftables
62 // NOLINTBEGIN
63 MCAPI static void** $vftable();
64 // NOLINTEND
65};
Definition Actor.h:104
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:44
Definition Command.h:17
Definition EventCommand.h:17