LeviLamina
Loading...
Searching...
No Matches
CloneCommand.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/CommandBlockName.h"
8#include "mc/server/commands/CommandPosition.h"
9
10// auto generated forward declare list
11// clang-format off
13class CommandOrigin;
14class CommandOutput;
15class CommandRegistry;
16// clang-format on
17
18class CloneCommand : public ::Command {
19public:
20 // CloneCommand inner types define
21 enum class CloneMode : int {
22 Normal = 0,
23 Force = 1,
24 Move = 2,
25 };
26
27 enum class MaskMode : int {
28 Replace = 0,
29 Filtered = 1,
30 Masked = 2,
31 };
32
33public:
34 // member variables
35 // NOLINTBEGIN
36 ::ll::TypedStorage<4, 16, ::CommandPosition> mBegin;
37 ::ll::TypedStorage<4, 16, ::CommandPosition> mEnd;
38 ::ll::TypedStorage<4, 16, ::CommandPosition> mDestination;
39 ::ll::TypedStorage<4, 4, ::CloneCommand::MaskMode> mMaskMode;
40 ::ll::TypedStorage<4, 4, ::CloneCommand::CloneMode> mCloneMode;
41 ::ll::TypedStorage<8, 8, ::CommandBlockName> mBlock;
42 ::ll::TypedStorage<8, 24, ::std::vector<::BlockStateCommandParam>> mBlockStates;
43 ::ll::TypedStorage<4, 4, int> mData;
44 // NOLINTEND
45
46public:
47 // virtual functions
48 // NOLINTBEGIN
49 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCAPI static void setup(::CommandRegistry& registry);
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
62
63
64 // NOLINTEND
65
66public:
67 // vftables
68 // NOLINTBEGIN
69 MCNAPI static void** $vftable();
70 // NOLINTEND
71};
72
73// clang-format off
74template <>
75MCAPI ::ll::type_id_ref Bedrock::typeid_storage_impl<class CommandRegistry, ::CloneCommand::CloneMode>();
76template <>
77MCAPI ::ll::type_id_ref Bedrock::typeid_storage_impl<class CommandRegistry, ::CloneCommand::MaskMode>();
78// clang-format on
Definition BlockStateCommandParam.h:16
Definition CloneCommand.h:18
static MCAPI void ** $vftable()
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:51