LeviLamina
Loading...
Searching...
No Matches
FeaturePoolElement.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/deps/game_refs/WeakRef.h"
8#include "mc/util/Rotation.h"
9#include "mc/world/level/levelgen/structure/structurepools/StructurePoolElement.h"
10#include "mc/world/level/levelgen/structure/structurepools/StructurePoolElementType.h"
11
12// auto generated forward declare list
13// clang-format off
14class BlockPos;
15class BlockSource;
16class BoundingBox;
17class IFeature;
18class JigsawBlockInfo;
20class Random;
23// clang-format on
24
26public:
27 // member variables
28 // NOLINTBEGIN
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 FeaturePoolElement& operator=(FeaturePoolElement const&);
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 // vIndex: 0
42 virtual ::BlockPos getSize(::Rotation rotation) const /*override*/;
43
44 // vIndex: 1
45 virtual ::std::vector<::JigsawBlockInfo>
46 getJigsawMarkers(::BlockPos position, ::LegacyStructureSettings& settings, ::BlockSource* region) const
47 /*override*/;
48
49 // vIndex: 8
50 virtual bool place(
51 ::BlockSource& region,
52 ::BlockPos position,
53 ::Rotation rotation,
54 ::BoundingBox chunkBB,
55 ::Random& random,
56 ::std::unordered_map<::BlockPos, ::std::optional<::ActorDefinitionIdentifier>>& entitiesToPlace,
57 ::BlockPos refPos
58 ) const /*override*/;
59
60 // vIndex: 15
61 virtual ::StructurePoolElementType type() const /*override*/;
62
63 // vIndex: 14
64 virtual ~FeaturePoolElement() /*override*/ = default;
65 // NOLINTEND
66
67public:
68 // member functions
69 // NOLINTBEGIN
71 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
73 );
74 // NOLINTEND
75
76public:
77 // constructor thunks
78 // NOLINTBEGIN
79 MCAPI void*
80 $ctor(::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager, ::WeakRef<::IFeature> feature);
81 // NOLINTEND
82
83public:
84 // destructor thunk
85 // NOLINTBEGIN
86
87 // NOLINTEND
88
89public:
90 // virtual function thunks
91 // NOLINTBEGIN
92 MCAPI ::std::vector<::JigsawBlockInfo>
93 $getJigsawMarkers(::BlockPos position, ::LegacyStructureSettings& settings, ::BlockSource* region) const;
94
95 MCAPI bool $place(
96 ::BlockSource& region,
97 ::BlockPos position,
98 ::Rotation rotation,
99 ::BoundingBox chunkBB,
100 ::Random& random,
101 ::std::unordered_map<::BlockPos, ::std::optional<::ActorDefinitionIdentifier>>& entitiesToPlace,
102 ::BlockPos refPos
103 ) const;
104
105 MCFOLD ::StructurePoolElementType $type() const;
106 // NOLINTEND
107
108public:
109 // vftables
110 // NOLINTBEGIN
111 MCAPI static void** $vftable();
112 // NOLINTEND
113};
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition BoundingBox.h:18
Definition FeaturePoolElement.h:25
Definition IFeature.h:13
Definition JigsawBlockInfo.h:12
Definition LegacyStructureSettings.h:22
Definition Random.h:16
Definition StructureManager.h:40
Definition StructurePoolElement.h:35
Definition WeakRef.h:8
Definition ActorDefinitionIdentifier.h:13
Definition Alias.h:14