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/util/Mirror.h"
7#include "mc/util/Rotation.h"
8#include "mc/world/level/levelgen/structure/Projection.h"
9
10// auto generated forward declare list
11// clang-format off
12class Block;
13class BlockPalette;
14class BlockPos;
15class BoundingBox;
16class ChunkPos;
17class HashedString;
20// clang-format on
21
23public:
24 // LegacyStructureSettings inner types declare
25 // clang-format off
26 struct IndexedName;
27 // clang-format on
28
29 // LegacyStructureSettings inner types define
30 struct IndexedName {
31 public:
32 // member variables
33 // NOLINTBEGIN
36 // NOLINTEND
37
38 public:
39 // prevent constructor by default
40 IndexedName& operator=(IndexedName const&);
43 };
44
45public:
46 // member variables
47 // NOLINTBEGIN
48 ::ll::TypedStorage<4, 4, float> mIntegrity;
49 ::ll::TypedStorage<4, 4, uint> mSeed;
50 ::ll::TypedStorage<1, 1, ::Projection> mProjection;
51 ::ll::TypedStorage<1, 1, ::Mirror> mMirror;
52 ::ll::TypedStorage<1, 1, ::Rotation> mRotation;
53 ::ll::TypedStorage<1, 1, bool> mIgnoreStructureBlocks;
54 ::ll::TypedStorage<1, 1, bool> mIgnoreJigsawBlocks;
55 ::ll::TypedStorage<1, 1, bool> mWaterBelowSeaLevel;
56 ::ll::TypedStorage<8, 8, ::Block const*> mIgnoreBlock;
57 ::ll::TypedStorage<8, 8, ::ChunkPos> mChunkPos;
58 ::ll::TypedStorage<4, 12, ::BlockPos> mRefPos;
59 ::ll::TypedStorage<4, 24, ::BoundingBox> mBoundingBox;
60 ::ll::TypedStorage<8, 64, ::std::unordered_map<uchar, uchar>> mSwapAuxValues;
61 ::ll::TypedStorage<8, 8, ::std::vector<::std::unique_ptr<::StructurePoolBlockRule>> const*> mBlockRules;
62 ::ll::TypedStorage<8, 8, ::std::vector<::std::unique_ptr<::StructurePoolBlockTagRule>> const*> mBlockTagRules;
63 ::ll::TypedStorage<8, 24, ::std::vector<::std::vector<::std::reference_wrapper<::HashedString const>>>>
64 mGroupedBlockIds;
65 ::ll::TypedStorage<8, 16, ::std::map<::HashedString, ::LegacyStructureSettings::IndexedName>> mIndexedNames;
66 // NOLINTEND
67
68public:
69 // member functions
70 // NOLINTBEGIN
72
74 ::Mirror mirror,
75 ::Rotation rotation,
76 ::Block const* ignoreBlock,
77 ::BoundingBox const& boundingBox
78 );
79
80 MCAPI ::Block const& getSwappedBlock(::BlockPalette const& oldBlock, ::Block const& palette) const;
81
82 MCAPI ::LegacyStructureSettings& operator=(::LegacyStructureSettings const&);
83
84 MCAPI void updateBoundingBoxFromChunkPos();
85
87 // NOLINTEND
88
89public:
90 // static variables
91 // NOLINTBEGIN
92 MCAPI static float const& INTEGRITY_MAX();
93 // NOLINTEND
94
95public:
96 // constructor thunks
97 // NOLINTBEGIN
98 MCAPI void* $ctor(::LegacyStructureSettings const&);
99
100 MCAPI void*
101 $ctor(::Mirror mirror, ::Rotation rotation, ::Block const* ignoreBlock, ::BoundingBox const& boundingBox);
102 // NOLINTEND
103
104public:
105 // destructor thunk
106 // NOLINTBEGIN
107 MCAPI void $dtor();
108 // NOLINTEND
109};
Definition BlockPalette.h:18
Definition BlockPos.h:18
Definition Block.h:36
Definition BoundingBox.h:18
Definition ChunkPos.h:11
Definition HashedString.h:5
Definition LegacyStructureSettings.h:22
Definition StructurePoolBlockRule.h:13
Definition StructurePoolBlockTagRule.h:12
Definition LegacyStructureSettings.h:30
Definition Alias.h:14