LeviLamina
Loading...
Searching...
No Matches
ChunkAccessor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/v2/heightmap_projection/Type.h"
7
8// auto generated forward declare list
9// clang-format off
10class BiomeSource;
11class Block;
12class BlockVolume;
13class ChunkPos;
14class Dimension;
15// clang-format on
16
17namespace br::worldgen {
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 8, ::gsl::not_null<::Dimension*>> mDimension;
24 ::ll::TypedStorage<8, 8, ::gsl::not_null<::BiomeSource const*>> mBiomeSource;
25 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockVolume>> mBlockVolume;
26 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::std::vector<::Block const*>>> mBlockBuffer;
27 ::ll::
28 TypedStorage<8, 8, ::std::unique_ptr<::std::unordered_map<::ChunkPos, ::std::unique_ptr<::std::vector<short>>>>>
29 mChunkHeightCache;
30 // NOLINTEND
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI ChunkAccessor(::Dimension& dimension, ::BiomeSource const& biomeSource);
36
37 MCAPI int getFirstFreeHeight(int x, int z, ::br::worldgen::HeightmapProjection::Type heightmapProjection) const;
38
39 MCAPI ~ChunkAccessor();
40 // NOLINTEND
41
42public:
43 // constructor thunks
44 // NOLINTBEGIN
45 MCAPI void* $ctor(::Dimension& dimension, ::BiomeSource const& biomeSource);
46 // NOLINTEND
47
48public:
49 // destructor thunk
50 // NOLINTBEGIN
51 MCAPI void $dtor();
52 // NOLINTEND
53};
54
55} // namespace br::worldgen
Definition BiomeSource.h:16
Definition BlockVolume.h:11
Definition Block.h:36
Definition ChunkPos.h:11
Definition Dimension.h:83
Definition ChunkAccessor.h:19