LeviLamina
Loading...
Searching...
No Matches
LegacyStructureSettings.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/util/Mirror.h"
8#include "mc/util/Rotation.h"
9#include "mc/world/level/BlockPos.h"
10#include "mc/world/level/ChunkPos.h"
11#include "mc/world/level/levelgen/structure/BoundingBox.h"
12#include "mc/world/level/levelgen/structure/Projection.h"
13
14// auto generated forward declare list
15// clang-format off
16class Block;
19// clang-format on
20
21class LegacyStructureSettings {
22public:
23 // LegacyStructureSettings inner types declare
24 // clang-format off
25 struct IndexedName;
26 // clang-format on
27
28 // LegacyStructureSettings inner types define
29 struct IndexedName {
30 public:
31 // member variables
32 // NOLINTBEGIN
33 ::ll::TypedStorage<8, 8, uint64> mGroupIndex;
34 ::ll::TypedStorage<8, 8, uint64> mBlockIndex;
35 // NOLINTEND
36 };
37
38public:
39 // member variables
40 // NOLINTBEGIN
41 ::ll::TypedStorage<4, 4, float> mIntegrity;
42 ::ll::TypedStorage<4, 4, uint> mSeed;
43 ::ll::TypedStorage<1, 1, ::Projection> mProjection;
44 ::ll::TypedStorage<1, 1, ::Mirror> mMirror;
45 ::ll::TypedStorage<1, 1, ::Rotation> mRotation;
46 ::ll::TypedStorage<1, 1, bool> mIgnoreStructureBlocks;
47 ::ll::TypedStorage<1, 1, bool> mIgnoreJigsawBlocks;
48 ::ll::TypedStorage<1, 1, bool> mWaterBelowSeaLevel;
49 ::ll::TypedStorage<8, 8, ::Block const*> mIgnoreBlock;
50 ::ll::TypedStorage<8, 8, ::ChunkPos> mChunkPos;
51 ::ll::TypedStorage<4, 12, ::BlockPos> mRefPos;
52 ::ll::TypedStorage<4, 24, ::BoundingBox> mBoundingBox;
53 ::ll::TypedStorage<8, 64, ::std::unordered_map<uchar, uchar>> mSwapAuxValues;
54 ::ll::TypedStorage<8, 8, ::std::vector<::std::unique_ptr<::StructurePoolBlockRule>> const*> mBlockRules;
55 ::ll::TypedStorage<8, 8, ::std::vector<::std::unique_ptr<::StructurePoolBlockTagRule>> const*> mBlockTagRules;
56 ::ll::TypedStorage<8, 24, ::std::vector<::std::vector<::std::reference_wrapper<::HashedString const>>>>
57 mGroupedBlockIds;
58 ::ll::TypedStorage<8, 16, ::std::map<::HashedString, ::LegacyStructureSettings::IndexedName>> mIndexedNames;
59 // NOLINTEND
60
61public:
62 // prevent constructor by default
63 LegacyStructureSettings(LegacyStructureSettings const&);
64 LegacyStructureSettings();
65
66public:
67 // member functions
68 // NOLINTBEGIN
69 MCAPI LegacyStructureSettings(
70 ::Mirror mirror,
71 ::Rotation rotation,
72 ::Block const* ignoreBlock,
73 ::BoundingBox const& boundingBox
74 );
75
76 MCAPI ::LegacyStructureSettings& operator=(::LegacyStructureSettings const& rhs);
77
78 MCAPI ~LegacyStructureSettings();
79 // NOLINTEND
80
81public:
82 // constructor thunks
83 // NOLINTBEGIN
84 MCAPI void*
85 $ctor(::Mirror mirror, ::Rotation rotation, ::Block const* ignoreBlock, ::BoundingBox const& boundingBox);
86 // NOLINTEND
87
88public:
89 // destructor thunk
90 // NOLINTBEGIN
91 MCAPI void $dtor();
92 // NOLINTEND
93};
Definition Block.h:41
Definition BoundingBox.h:13
Definition StructurePoolBlockRule.h:11
Definition StructurePoolBlockTagRule.h:10
Definition LegacyStructureSettings.h:29