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