LeviLamina
Loading...
Searching...
No Matches
StructureCommand.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/standard/StructureActionType.h"
8#include "mc/util/AnimationMode.h"
9#include "mc/util/Mirror.h"
10#include "mc/util/Rotation.h"
11#include "mc/world/level/levelgen/structure/StructureRedstoneSaveMode.h"
12
13// auto generated forward declare list
14// clang-format off
15class BlockPos;
16class CommandOrigin;
17class CommandOutput;
18class CommandPosition;
19class CommandRegistry;
21// clang-format on
22
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<4, 4, ::StructureActionType> mAction;
28 ::ll::TypedStorage<1, 1, ::StructureRedstoneSaveMode> mSaveMode;
29 ::ll::TypedStorage<1, 1, ::Rotation> mRotation;
30 ::ll::TypedStorage<1, 1, ::Mirror> mMirror;
31 ::ll::TypedStorage<1, 1, ::AnimationMode> mAnimationMode;
32 ::ll::TypedStorage<4, 4, float> mAnimationTimeSeconds;
33 ::ll::TypedStorage<8, 32, ::std::string> mName;
34 ::ll::TypedStorage<8, 32, ::std::string> mSeed;
35 ::ll::TypedStorage<4, 16, ::CommandPosition> mFrom;
36 ::ll::TypedStorage<4, 16, ::CommandPosition> mTo;
37 ::ll::TypedStorage<4, 4, float> mIntegrity;
38 ::ll::TypedStorage<1, 1, bool> mSeedSpecified;
39 ::ll::TypedStorage<1, 1, bool> mIncludeEntities;
40 ::ll::TypedStorage<1, 1, bool> mIncludeBlocks;
41 ::ll::TypedStorage<1, 1, bool> mWaterlogged;
42 // NOLINTEND
43
44public:
45 // virtual functions
46 // NOLINTBEGIN
47 // vIndex: 2
48 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
49
50 // vIndex: 0
51 virtual ~StructureCommand() /*override*/ = default;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI void _delete(::CommandOrigin const& origin, ::CommandOutput& output) const;
58
59 MCAPI ::std::string _getFullName() const;
60
61 MCAPI bool
62 _isValidSize(::BlockPos const& size, ::DimensionHeightRange const& heightRange, ::CommandOutput& output) const;
63
64 MCAPI void _load(::CommandOrigin const& origin, ::CommandOutput& output) const;
65
66 MCAPI void _save(::CommandOrigin const& origin, ::CommandOutput& output) const;
67 // NOLINTEND
68
69public:
70 // static functions
71 // NOLINTBEGIN
72 MCAPI static void setup(::CommandRegistry& registry);
73 // NOLINTEND
74
75public:
76 // destructor thunk
77 // NOLINTBEGIN
78
79 // NOLINTEND
80
81public:
82 // virtual function thunks
83 // NOLINTBEGIN
84 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCAPI static void** $vftable();
91 // NOLINTEND
92};
Definition BlockPos.h:18
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandPosition.h:13
Definition CommandRegistry.h:44
Definition Command.h:17
Definition DimensionHeightRange.h:5
Definition StructureCommand.h:23