LeviLamina
Loading...
Searching...
No Matches
SetBlockCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/Command.h"
7
8// auto generated forward declare list
9// clang-format off
10class CommandOrigin;
11class CommandOutput;
12class CommandRegistry;
13// clang-format on
14
15class SetBlockCommand : public ::Command {
16public:
17 // SetBlockCommand inner types define
18 enum class SetBlockMode : int {
19 Replace = 0,
20 Destroy = 1,
21 Keep = 2,
22 };
23
24public:
25 // member variables
26 // NOLINTBEGIN
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 SetBlockCommand& operator=(SetBlockCommand const&);
37 SetBlockCommand(SetBlockCommand const&);
38 SetBlockCommand();
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
44
45 virtual ~SetBlockCommand() /*override*/ = default;
46 // NOLINTEND
47
48public:
49 // static functions
50 // NOLINTBEGIN
51 MCAPI static void setup(::CommandRegistry& registry);
52 // NOLINTEND
53
54public:
55 // virtual function thunks
56 // NOLINTBEGIN
57 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
58
59
60 // NOLINTEND
61
62public:
63 // vftables
64 // NOLINTBEGIN
65 MCNAPI static void** $vftable();
66 // NOLINTEND
67};
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:47
Definition Command.h:17
static MCAPI void ** $vftable()
Definition Alias.h:14