Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
LevelChunkBiomes Class Reference

Classes

struct  MemoryEstimateData

Public Member Functions

LevelChunkBiomes & operator= (LevelChunkBiomes const &)
 LevelChunkBiomes (LevelChunkBiomes const &)
MCAPI void fetchBiomes (::Bedrock::small_vector_base<::gsl::not_null<::Biome const * > > &output) const
MCAPI void makeUniformBiomes (::Biome const &biome)
MCAPI void pruneBiomesSubChunk3D (ushort subChunkIndex, ::SubChunkStorageUnit::PruneType pruneType)
MCAPI void rebuildMissingBiomeSubChunks (ushort numSubChunksToCreate, ushort dimensionSubchunkHeight, ::Bedrock::Threading::UniqueLock<::std::shared_mutex > const &lock)
MCAPI void setBiomeFromVolume (::ChunkVolume::VolumeOf<::Biome > const &volume, ushort dimensionNumSubChunks)
MCAPI void setBiomeInSubChunk3D (::Biome const &biome, ushort subChunkIndex, ushort storageIndex, ushort dimensionSubchunkHeight, ::Bedrock::Threading::UniqueLock<::std::shared_mutex > const &writeLock, bool allowRebuildingAdditionalSubChunk)
MCAPI void setBiomeStorages (::std::vector<::std::unique_ptr<::SubChunkStorage<::Biome > > > biomes, ushort biomeStackSize)
MCAPI void setBiomeSubChunk3D (::Biome const &biome, ushort subChunkIndex, ushort dimensionSubchunkHeight, bool allowRebuildingAdditionalSubChunk)

Public Attributes

::ll::TypedStorage< 2, 512, ::std::array<::BiomeIdType, 256 > > m2DBiomes
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::SubChunkStorage<::Biome > > > > mBiomeSubchunks
::ll::TypedStorage< 8, 8, ::std::shared_mutex > mBiomesMutex
::ll::TypedStorage< 2, 2, ushort > m3dBiomeStackSize

Member Function Documentation

◆ fetchBiomes()

MCAPI void LevelChunkBiomes::fetchBiomes ( ::Bedrock::small_vector_base<::gsl::not_null<::Biome const * > > & output) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ makeUniformBiomes()

MCAPI void LevelChunkBiomes::makeUniformBiomes ( ::Biome const & biome)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ pruneBiomesSubChunk3D()

MCAPI void LevelChunkBiomes::pruneBiomesSubChunk3D ( ushort subChunkIndex,
::SubChunkStorageUnit::PruneType pruneType )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ rebuildMissingBiomeSubChunks()

MCAPI void LevelChunkBiomes::rebuildMissingBiomeSubChunks ( ushort numSubChunksToCreate,
ushort dimensionSubchunkHeight,
::Bedrock::Threading::UniqueLock<::std::shared_mutex > const & lock )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setBiomeInSubChunk3D()

MCAPI void LevelChunkBiomes::setBiomeInSubChunk3D ( ::Biome const & biome,
ushort subChunkIndex,
ushort storageIndex,
ushort dimensionSubchunkHeight,
::Bedrock::Threading::UniqueLock<::std::shared_mutex > const & writeLock,
bool allowRebuildingAdditionalSubChunk )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setBiomeStorages()

MCAPI void LevelChunkBiomes::setBiomeStorages ( ::std::vector<::std::unique_ptr<::SubChunkStorage<::Biome > > > biomes,
ushort biomeStackSize )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setBiomeSubChunk3D()

MCAPI void LevelChunkBiomes::setBiomeSubChunk3D ( ::Biome const & biome,
ushort subChunkIndex,
ushort dimensionSubchunkHeight,
bool allowRebuildingAdditionalSubChunk )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: