LeviLamina
Loading...
Searching...
No Matches
FillCommand.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 FillCommand : public ::Command {
19public:
20 // FillCommand inner types define
21 enum class FillMode : int {
22 Replace = 0,
23 Destroy = 1,
24 Hollow = 2,
25 Outline = 3,
26 Keep = 4,
27 };
28
29public:
30 // member variables
31 // NOLINTBEGIN
32 ::ll::TypedStorage<4, 16, ::CommandPosition> mFrom;
33 ::ll::TypedStorage<4, 16, ::CommandPosition> mTo;
34 ::ll::TypedStorage<8, 8, ::CommandBlockName> mBlock;
35 ::ll::TypedStorage<8, 8, ::CommandBlockName> mReplaceBlock;
36 ::ll::TypedStorage<8, 24, ::std::vector<::BlockStateCommandParam>> mBlockStates;
37 ::ll::TypedStorage<8, 24, ::std::vector<::BlockStateCommandParam>> mReplaceBlockStates;
38 ::ll::TypedStorage<4, 4, ::FillCommand::FillMode> mMode;
39 ::ll::TypedStorage<4, 4, int> mBlockData;
40 ::ll::TypedStorage<4, 4, int> mReplaceBlockData;
41 // NOLINTEND
42
43public:
44 // virtual functions
45 // NOLINTBEGIN
46 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI FillCommand();
53 // NOLINTEND
54
55public:
56 // static functions
57 // NOLINTBEGIN
58 MCAPI static void setup(::CommandRegistry& registry);
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCAPI void* $ctor();
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
71
72
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCNAPI static void** $vftable();
79 // NOLINTEND
80};
81
82// clang-format off
83template <>
84MCAPI ::ll::type_id_ref Bedrock::typeid_storage_impl<class CommandRegistry, ::FillCommand::FillMode>();
85// clang-format on
Definition BlockStateCommandParam.h:16
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:51
static MCAPI void ** $vftable()