Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
GenerationContext.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/ChunkPos.h"
7#include "mc/world/level/levelgen/v2/WorldGenRandom.h"
8
9// auto generated forward declare list
10// clang-format off
12struct BiomeIdType;
13namespace br::worldgen { class ChunkAccessor; }
14// clang-format on
15
16namespace br::worldgen {
17
18struct GenerationContext {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 8, ::JigsawStructureRegistry const&> mPools;
23 ::ll::TypedStorage<8, 56, ::br::worldgen::WorldGenRandom> mRandom;
24 ::ll::TypedStorage<8, 8, int64> mLevelSeed;
25 ::ll::TypedStorage<8, 8, ::ChunkPos> mChunkPos;
26 ::ll::TypedStorage<8, 8, ::br::worldgen::ChunkAccessor&> mChunkAccessor;
27 ::ll::TypedStorage<8, 16, ::gsl::span<::BiomeIdType const>> mValidBiomes;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 GenerationContext& operator=(GenerationContext const&);
33 GenerationContext(GenerationContext const&);
34 GenerationContext();
35};
36
37} // namespace br::worldgen
Definition JigsawStructureRegistry.h:22
Definition ChunkAccessor.h:19
Definition BiomeIdType.h:8