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 &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 ()
 
MCFOLD void * $ctor ()
 
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)
 

Static Public Member Functions

static MCAPI ::BiomeRegistry::LoadedBiomeDocument _loadBiomeDocument (::ResourcePackManager &loader, ::std::string const &biomeName, bool loadFromPacks, ::cereal::ReflectionCtx &ctx)
 
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 > mLoadFromPacks
 
::ll::TypedStorage< 8, 128, ::TagRegistry<::IDType<::BiomeTagIDType >, ::IDType<::BiomeTagSetIDType > > > mTagRegistry
 
::ll::TypedStorage< 8, 8, ::Biome * > mEmptyBiome
 
::ll::TypedStorage< 8, 48, ::HashedStringmDefaultWaterIdentifier
 
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmOnSaveSubscription
 
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmOnLevelStorageManagerStartLeaveGameSubscription
 
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock
 

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