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

Classes

struct  BiomeComparator
 
struct  LoadedBiomeDocument
 

Public Types

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

Public Member Functions

MCAPI BiomeRegistry (::BaseGameVersion const &baseGameVersion)
 
MCAPI void _initEngineBiome (::BaseGameVersion const &baseGameVersion)
 
MCAPI void _initTagRegistry ()
 
MCAPI::Biome & _register (::std::string const &name, ushort id)
 
MCAPI void _save (::LevelStorage &levelStorage) 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 (::ResourcePackManager const &loader, ::IWorldRegistriesProvider &worldRegistries)
 
MCAPI void initializeWithLevelStorageManagerConnector (::ILevelStorageManagerConnector &levelStorageManagerConnector)
 
MCAPI void loadBiomeData (::LevelStorage const &levelStorage)
 
MCAPI void loadBiomeTable (::LevelStorage const &levelStorage, ::BaseGameVersion const &baseGameVersion)
 
MCAPI::Biome const * lookupByHash (::HashedString const &) const
 
MCFOLD::Biome * lookupByHash (::HashedString const &hash)
 
MCAPI::Biome const * lookupByName (::std::string const &) const
 
MCFOLD::Biome * lookupByName (::std::string const &name)
 
MCAPI void saveBiomeTable (::LevelStorage &levelStorage, ::BaseGameVersion const &baseGameVersion) const
 
MCAPI void * $ctor (::BaseGameVersion const &baseGameVersion)
 
MCAPI void $dtor ()
 

Static Public Member Functions

static MCAPI ::BiomeRegistry::LoadedBiomeDocument _loadBiomeDocument (::ResourcePackManager const &loader, ::std::string const &biomeName, bool loadFromAllPacks, ::cereal::ReflectionCtx &ctx)
 
static MCAPI ::std::string getBiomeResourceText (::ResourcePackManager const &loader, ::Core::Path const &biomePath, bool loadFromAllPacks)
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 984, ::WellKnownBiomeTagsmWellKnownBiomeTags
 
::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< 4, 4, uint > mNextCustomBiomeId
 
::ll::TypedStorage< 1, 1, ::std::atomic< bool > > mClosedForRegistration
 
::ll::TypedStorage< 1, 1, bool > mLoadFromAllPacks
 
::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
 
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock
 

Member Function Documentation

◆ $vftable()

static 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: