LeviLamina
Loading...
Searching...
No Matches
ISurfaceBuilder.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Biome;
8class BlockPos;
9class BlockVolume;
12class Random;
13// clang-format on
14
16public:
17 // ISurfaceBuilder inner types declare
18 // clang-format off
19 struct BuildParameters;
20 // clang-format on
21
22 // ISurfaceBuilder inner types define
23 enum class WaterLevelStrategy : int {
24 Local = 0,
25 Global = 1,
26 };
27
29 public:
30 // member variables
31 // NOLINTBEGIN
32 ::ll::TypedStorage<8, 8, ::Biome const&> mBiome;
33 ::ll::TypedStorage<8, 8, ::Random&> mRandom;
34 ::ll::TypedStorage<8, 8, ::BlockVolume&> mBlocks;
35 ::ll::TypedStorage<8, 8, ::BlockPos const&> mPos;
36 ::ll::TypedStorage<4, 4, float> mDepthValue;
37 ::ll::TypedStorage<2, 2, short> mSeaLevel;
38 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PerlinSimplexNoise> const&> mMaterialAdjNoise;
39 ::ll::TypedStorage<4, 4, ::ISurfaceBuilder::WaterLevelStrategy const> mWaterLevelStrategy;
40 ::ll::TypedStorage<4, 4, int const> mLowerLimit;
41 ::ll::TypedStorage<8, 8, ::HeightmapWrapper const&> mPreWorldGenHeightmap;
42 ::ll::TypedStorage<1, 1, bool const> mUseCCOrLater;
43 // NOLINTEND
44 };
45
46public:
47 // virtual functions
48 // NOLINTBEGIN
49 // vIndex: 0
50 virtual ~ISurfaceBuilder() = default;
51
52 // vIndex: 1
53 virtual void init(::Biome&, uint) = 0;
54
55 // vIndex: 2
56 virtual void buildSurfaceAt(::ISurfaceBuilder::BuildParameters const&) const = 0;
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68
69 // NOLINTEND
70};
Definition Biome.h:27
Definition BlockPos.h:18
Definition BlockVolume.h:11
Definition HeightmapWrapper.h:5
Definition ISurfaceBuilder.h:15
Definition PerlinSimplexNoise.h:13
Definition Random.h:16
Definition ISurfaceBuilder.h:28