LeviLamina
Loading...
Searching...
No Matches
StructureHeightProvider.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/v2/HeightProvider.h"
7
8// auto generated forward declare list
9// clang-format off
10class IRandom;
11namespace br::worldgen { class ConstantHeight; }
12namespace br::worldgen { class UniformHeight; }
13namespace br::worldgen { class WorldGenContext; }
14// clang-format on
15
16namespace br::worldgen {
17
19public:
20 // StructureHeightProvider inner types define
21 using Data = ::std::variant<::br::worldgen::ConstantHeight, ::br::worldgen::UniformHeight>;
22
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 48, ::std::variant<::br::worldgen::ConstantHeight, ::br::worldgen::UniformHeight>> mData;
27 // NOLINTEND
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 1
33 virtual int sample(::IRandom& randomSource, ::br::worldgen::WorldGenContext const& heightAccessor) const
34 /*override*/;
35
36 // vIndex: 0
37 virtual ~StructureHeightProvider() /*override*/;
38 // NOLINTEND
39
40public:
41 // destructor thunk
42 // NOLINTBEGIN
43 MCFOLD void $dtor();
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCAPI int $sample(::IRandom& randomSource, ::br::worldgen::WorldGenContext const& heightAccessor) const;
50 // NOLINTEND
51
52public:
53 // vftables
54 // NOLINTBEGIN
55 MCAPI static void** $vftable();
56 // NOLINTEND
57};
58
59} // namespace br::worldgen
Definition IRandom.h:10
Definition StructureHeightProvider.h:18
Definition WorldGenContext.h:7
Definition WorldGenContext.h:13
Definition HeightProvider.h:13