LeviLamina
Loading...
Searching...
No Matches
Capped.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/v2/processors/StructureProcessor.h"
7#include "mc/world/level/levelgen/v2/processors/StructureProcessorType.h"
8#include "mc/world/level/levelgen/v2/providers/IntProvider.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockPos;
13class IBlockSource;
14namespace Util { class XXHash; }
15namespace br::worldgen { struct StructureBlockInfo; }
16namespace br::worldgen { struct StructurePlaceSettings; }
17// clang-format on
18
19namespace br::worldgen::processors {
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 16, ::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor const>>> mDelegate;
26 ::ll::TypedStorage<4, 32, ::IntProvider> mLimit;
27 // NOLINTEND
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 2
33 virtual ::std::vector<::br::worldgen::StructureBlockInfo> finalize(
34 ::IBlockSource& region,
35 ::BlockPos pos,
36 ::BlockPos structurePos,
37 ::std::vector<::br::worldgen::StructureBlockInfo> const& originalBlocks,
38 ::std::vector<::br::worldgen::StructureBlockInfo>&& processedBlocks,
40 ) const /*override*/;
41
42 // vIndex: 3
43 virtual ::br::worldgen::StructureProcessorType type() const /*override*/;
44
45 // vIndex: 4
46 virtual void appendMetadataKey(::Util::XXHash& hash) const /*override*/;
47
48 // vIndex: 0
49 virtual ~Capped() /*override*/;
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCNAPI static ::br::worldgen::processors::Capped
56 from(::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor>> delegate, ::IntProvider limit);
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62 MCNAPI void $dtor();
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCNAPI ::std::vector<::br::worldgen::StructureBlockInfo> $finalize(
69 ::IBlockSource& region,
70 ::BlockPos pos,
71 ::BlockPos structurePos,
72 ::std::vector<::br::worldgen::StructureBlockInfo> const& originalBlocks,
73 ::std::vector<::br::worldgen::StructureBlockInfo>&& processedBlocks,
75 ) const;
76
77 MCNAPI ::br::worldgen::StructureProcessorType $type() const;
78
79 MCNAPI void $appendMetadataKey(::Util::XXHash& hash) const;
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCNAPI static void** $vftable();
86 // NOLINTEND
87};
88
89} // namespace br::worldgen::processors
Definition BlockPos.h:18
Definition IBlockSource.h:35
Definition XXHash.h:7
Definition Capped.h:21
MCAPI void $appendMetadataKey(::Util::XXHash &hash) const
static MCAPI ::br::worldgen::processors::Capped from(::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor > > delegate, ::IntProvider limit)
MCAPI::br::worldgen::StructureProcessorType $type() const
static MCAPI void ** $vftable()
MCAPI ::std::vector<::br::worldgen::StructureBlockInfo > $finalize(::IBlockSource &region, ::BlockPos pos, ::BlockPos structurePos, ::std::vector<::br::worldgen::StructureBlockInfo > const &originalBlocks, ::std::vector<::br::worldgen::StructureBlockInfo > &&processedBlocks, ::br::worldgen::StructurePlaceSettings const &settings) const
Definition IntProvider.h:13
Definition StructurePlaceSettings.h:18
Definition StructureProcessor.h:22