LeviLamina
Loading...
Searching...
No Matches
BiomeRegistry Class Reference
Inheritance diagram for BiomeRegistry:

Classes

struct  BiomeComparator
struct  LoadedBiomeDocument
struct  SeasonTextureRowSettings

Public Types

using BiomeNameLookupMap = ::std::unordered_map<uint64, ::std::unique_ptr<::Biome>>

Public Member Functions

MCAPI void _initTagRegistry ()
MCAPI::Biome & _register (::std::string_view name, ::BiomeIdType id)
MCAPI void _save (::LevelStorage &levelStorage) const
MCAPI bool biomeAddTag (::Biome &biome, ::HashedString tag)
MCAPI bool biomeHasTag (::Biome const &, ::IDType<::BiomeTagIDType > const &) const
MCAPI bool biomeHasTag (::Biome const &biome, ::HashedString const &id) const
MCAPI bool biomeHasTag (::Biome const &biome, uint64 tagHash) const
MCFOLD bool biomeHasTag (::Biome const &biome, ::WellKnownTagID const &tagID) const
MCFOLD void forEachBiome (::std::function< void(::Biome const &)> callback) const
MCFOLD void forEachNonConstBiome (::std::function< void(::Biome &)> callback)
MCAPI ::std::vector<::Biome const * > getBiomesInDimension (::DimensionType type) const
MCAPI void initServerFromPacks (::IWorldRegistriesProvider &worldRegistries, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator >, ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlue::ResolvedBiomeData > > &biomeIdToResolvedData)
MCAPI void initializeWithLevelStorageManagerConnector (::ILevelStorageManagerConnector &levelStorageManagerConnector)
MCAPI void loadAllBiomeDocuments (::ResourcePackManager const &loader, ::cereal::ReflectionCtx &ctx, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator > linkedAssetValidator, ::BaseGameVersion const &baseGameVersion, ::BiomeJsonDocumentGlue &biomeJsonDocumentGlue, ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlue::ResolvedBiomeData > > &biomeIdToResolvedData)
MCAPI void loadBiomeData (::LevelStorage const &levelStorage)
MCAPI void loadBiomeTable (::LevelStorage const &levelStorage)
MCAPI::Biome * lookupByHash (::HashedString const &hash)
MCAPI::Biome const * lookupById (::BiomeIdType) const
MCFOLD::Biome * lookupById (::BiomeIdType id)
MCAPI::Biome const * lookupByName (::std::string const &name) const
MCAPI::Biome * lookupByName (::std::string const &name)
MCAPI void removeFailedToLoadBiomes ()
MCAPI void saveBiomeTable (::LevelStorage &levelStorage) const
MCAPI void * $ctor ()
MCAPI void $dtor ()
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 600, ::WellKnownBiomeTagsmWellKnownBiomeTags
::ll::TypedStorage< 1, 1, bool > mSurfaceBuildersResolved
::ll::TypedStorage< 1, 1, bool > mClientInitialized
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint64, ::std::unique_ptr<::Biome > > > mBiomesByName
::ll::TypedStorage< 8, 40, ::brstd::flat_set< ::gsl::not_null<::Biome * >, ::BiomeRegistry::BiomeComparator, ::std::vector<::gsl::not_null<::Biome * > > > > mBiomesById
::ll::TypedStorage< 8, 24, ::std::vector<::std::pair<::BiomeIdType const, ::std::string const & > > > mRemovedBiomesIdAndFullName
::ll::TypedStorage< 4, 4, uint > mNextCustomBiomeId
::ll::TypedStorage< 1, 1, ::std::atomic< bool > > mClosedForRegistration
::ll::TypedStorage< 8, 128, ::TagRegistry<::IDType<::BiomeTagIDType >, ::IDType<::BiomeTagSetIDType > > > mTagRegistry
::ll::TypedStorage< 8, 8, ::Biome * > mEmptyBiome
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmOnSaveSubscription
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmOnLevelStorageManagerStartLeaveGameSubscription
::ll::TypedStorage< 8, 24, ::std::vector<::BiomeRegistry::SeasonTextureRowSettings > > mSeasonTextureRowSettings
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock

Member Function Documentation

◆ $vftable()

MCAPI void ** BiomeRegistry::$vftable ( )
static
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: