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 ChunkPos;
12class Dimension;
13namespace br::worldgen { struct BlockVolumeCacheItem; }
14// clang-format on
15
16namespace br::worldgen {
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 8, ::gsl::not_null<::Dimension*>> mDimension;
23 ::ll::TypedStorage<8, 8, ::gsl::not_null<::BiomeSource const*>> mBiomeSource;
24 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::std::unordered_map<::ChunkPos, ::br::worldgen::BlockVolumeCacheItem>>>
25 mBlockCache;
26 ::ll::
27 TypedStorage<8, 8, ::std::unique_ptr<::std::unordered_map<::ChunkPos, ::std::unique_ptr<::std::vector<short>>>>>
28 mChunkHeightCache;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCNAPI ChunkAccessor(::Dimension& dimension, ::BiomeSource const& biomeSource);
39
40 MCNAPI int getFirstFreeHeight(int x, int z, ::br::worldgen::HeightmapProjection::Type heightmapProjection) const;
41
43 // NOLINTEND
44
45public:
46 // constructor thunks
47 // NOLINTBEGIN
48 MCNAPI void* $ctor(::Dimension& dimension, ::BiomeSource const& biomeSource);
49 // NOLINTEND
50
51public:
52 // destructor thunk
53 // NOLINTBEGIN
54 MCNAPI void $dtor();
55 // NOLINTEND
56};
57
58} // namespace br::worldgen
Definition BiomeSource.h:19
Definition ChunkPos.h:11
Definition Dimension.h:83
Definition ChunkAccessor.h:18
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