LeviLamina
Loading...
Searching...
No Matches
UniformHeight.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#include "mc/world/level/levelgen/v2/VerticalAnchor.h"
8
9// auto generated forward declare list
10// clang-format off
11class IRandom;
12namespace br::worldgen { class VerticalAnchor; }
13namespace br::worldgen { class WorldGenContext; }
14// clang-format on
15
16namespace br::worldgen {
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 16, ::br::worldgen::VerticalAnchor> mMinInclusive;
23 ::ll::TypedStorage<8, 16, ::br::worldgen::VerticalAnchor> mMaxInclusive;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 1
30 virtual int sample(::IRandom& randomSource, ::br::worldgen::WorldGenContext const& heightAccessor) const
31 /*override*/;
32
33 // vIndex: 0
34 virtual ~UniformHeight() /*override*/ = default;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCNAPI ::std::string toString() const;
41 // NOLINTEND
42
43public:
44 // virtual function thunks
45 // NOLINTBEGIN
46 MCNAPI int $sample(::IRandom& randomSource, ::br::worldgen::WorldGenContext const& heightAccessor) const;
47 // NOLINTEND
48
49public:
50 // vftables
51 // NOLINTBEGIN
52 MCNAPI static void** $vftable();
53 // NOLINTEND
54};
55
56} // namespace br::worldgen
Definition IRandom.h:10
Definition UniformHeight.h:18
static MCAPI void ** $vftable()
MCAPI int $sample(::IRandom &randomSource, ::br::worldgen::WorldGenContext const &heightAccessor) const
MCAPI::std::string toString() const
Definition WorldGenContext.h:7
Definition WorldGenContext.h:13
Definition HeightProvider.h:13