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 MCNAPI void*
80 $ctor(::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager, ::WeakRef<::IFeature> feature);
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86 MCNAPI ::BlockPos $getSize(::Rotation rotation) const;
87
88 MCNAPI ::std::vector<::JigsawBlockInfo>
90
91 MCNAPI bool $place(
92 ::BlockSource& region,
93 ::BlockPos position,
94 ::Rotation rotation,
95 ::BoundingBox chunkBB,
96 ::Random& random,
97 ::std::unordered_map<::BlockPos, ::std::optional<::ActorDefinitionIdentifier>>& entitiesToPlace,
98 ::BlockPos refPos
99 ) const;
100
101 MCNAPI ::StructurePoolElementType $type() const;
102 // NOLINTEND
103
104public:
105 // vftables
106 // NOLINTBEGIN
107 MCNAPI static void** $vftable();
108 // NOLINTEND
109};
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition BoundingBox.h:13
Definition FeaturePoolElement.h:25
MCAPI void * $ctor(::Bedrock::NotNullNonOwnerPtr<::StructureManager > structureManager, ::WeakRef<::IFeature > feature)
MCAPI FeaturePoolElement(::Bedrock::NotNullNonOwnerPtr<::StructureManager > structureManager, ::WeakRef<::IFeature > feature)
MCAPI::StructurePoolElementType $type() const
MCAPI::BlockPos $getSize(::Rotation rotation) const
MCAPI bool $place(::BlockSource &region, ::BlockPos position, ::Rotation rotation, ::BoundingBox chunkBB, ::Random &random, ::std::unordered_map<::BlockPos, ::std::optional<::ActorDefinitionIdentifier > > &entitiesToPlace, ::BlockPos refPos) const
MCAPI ::std::vector<::JigsawBlockInfo > $getJigsawMarkers(::BlockPos position, ::LegacyStructureSettings &settings, ::BlockSource *region) const
static MCAPI void ** $vftable()
Definition IFeature.h:13
Definition JigsawBlockInfo.h:12
Definition LegacyStructureSettings.h:22
Definition Random.h:11
Definition StructureManager.h:40
Definition StructurePoolElement.h:35
Definition WeakRef.h:8
Definition ActorDefinitionIdentifier.h:15
Definition Alias.h:14