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 // NOLINTEND
37
38public:
39 // static functions
40 // NOLINTBEGIN
41 MCAPI static void setup(::CommandRegistry& registry);
42 // NOLINTEND
43
44public:
45 // virtual function thunks
46 // NOLINTBEGIN
47 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
48
49
50 // NOLINTEND
51
52public:
53 // vftables
54 // NOLINTBEGIN
55 MCNAPI static void** $vftable();
56 // NOLINTEND
57};
58
59// clang-format off
60template <>
61MCAPI ::ll::type_id_ref Bedrock::typeid_storage_impl<class CommandRegistry, ::EventCommand::EventAction>();
62// clang-format on
Definition Actor.h:125
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:51
Definition EventCommand.h:17
static MCAPI void ** $vftable()