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 // prevent constructor by default
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCNAPI ChunkAccessor(::Dimension& dimension, ::BiomeSource const& biomeSource);
40
41 MCNAPI int getFirstFreeHeight(int x, int z, ::br::worldgen::HeightmapProjection::Type heightmapProjection) const;
42
44 // NOLINTEND
45
46public:
47 // constructor thunks
48 // NOLINTBEGIN
49 MCNAPI void* $ctor(::Dimension& dimension, ::BiomeSource const& biomeSource);
50 // NOLINTEND
51
52public:
53 // destructor thunk
54 // NOLINTBEGIN
55 MCNAPI void $dtor();
56 // NOLINTEND
57};
58
59} // namespace br::worldgen
Definition BiomeSource.h:19
Definition BlockVolume.h:13
Definition Block.h:38
Definition ChunkPos.h:11
Definition Dimension.h:83
Definition ChunkAccessor.h:19
MCAPI ChunkAccessor(::Dimension &dimension, ::BiomeSource const &biomeSource)
MCAPI void * $ctor(::Dimension &dimension, ::BiomeSource const &biomeSource)
MCAPI int getFirstFreeHeight(int x, int z, ::br::worldgen::HeightmapProjection::Type heightmapProjection) const