LeviLamina
Loading...
Searching...
No Matches
FeatureRegistry Class Reference

Classes

struct  FeatureBinaryJsonFormat

Public Member Functions

MCAPI FeatureRegistry (::Bedrock::NonOwnerPointer<::LinkedAssetValidator > validator)
MCAPI void _registerFeature (::std::string const &name, ::std::unique_ptr<::IFeature > featurePtr)
MCAPI bool _setupFeature (::IWorldRegistriesProvider &worldRegistries, bool isBasePack, ::ResourcePackManager const &rpm, ::std::string const &featureName, ::Json::Value const &jsonDefinition, ::MinEngineVersion const &minEngineVersion, bool serializeFeatures)
MCAPI void forEachFeature (::brstd::function_ref< void(::HashedString const &, ::WeakRef<::IFeature >)> callback) const
MCAPI ::std::vector<::std::string > getLargeFeaturePasses () const
MCAPI ::std::vector<::std::string > getSmallFeaturePasses () const
MCAPI bool isFeaturePassDefined (::std::string const &featurePass) const
MCAPI void loadFromDefinitions (::IWorldRegistriesProvider &worldRegistries, ::ResourcePackManager const &rpm, bool clientSideGenEnabled)
MCAPI ::WeakRef<::IFeaturelookupByName (::std::string const &name) const
MCAPI ::WeakRef<::IFeaturelookupOrReserveFeature (::std::string const &featureName)
MCAPI ::WeakRef<::IFeaturereserveFeature (::std::string const &name)
MCAPI::std::string const & reverseLookupString (::IFeature const &feature) const
MCAPI void setLargeFeaturePasses (::std::vector<::std::string > largeFeaturePasses)
MCAPI void setSmallFeaturePasses (::std::vector<::std::string > smallFeaturePasses)
MCAPI void * $ctor (::Bedrock::NonOwnerPointer<::LinkedAssetValidator > validator)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::std::string _featureIdentifierFromInput (::std::string_view filePath, ::Json::Value const &jsonDefinition)
static MCAPI ::std::string const & AFTER_SKY_PASS ()
static MCAPI ::std::string const & AFTER_SURFACE_PASS ()
static MCAPI ::std::string const & AFTER_UNDERGROUND_PASS ()
static MCAPI ::std::string const & BEFORE_SKY_PASS ()
static MCAPI ::std::string const & BEFORE_SURFACE_PASS ()
static MCAPI ::std::string const & BEFORE_UNDERGROUND_PASS ()
static MCAPI ::std::string const & FINAL_PASS ()
static MCAPI ::std::string const & FIRST_PASS ()
static MCAPI ::std::string const & PREGENERATION_PASS ()
static MCAPI ::std::string const & SKY_PASS ()
static MCAPI ::std::string const & SURFACE_PASS ()
static MCAPI ::std::string const & UNDERGROUND_PASS ()

Public Attributes

::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator > > mValidator
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::IFeature > > > mFeatureRegistry
::ll::TypedStorage< 8, 24, ::std::vector<::OwnerPtr<::IFeature > > > mFeatureSlots
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, uint64 > > mFeatureLookupMap
::ll::TypedStorage< 8, 24, ::std::vector<::FeatureRegistry::FeatureBinaryJsonFormat > > mFeatureSerializeData
::ll::TypedStorage< 1, 1, bool > mClientInitialized
::ll::TypedStorage< 8, 24, ::std::vector<::std::string > > mLargeFeaturePasses
::ll::TypedStorage< 8, 24, ::std::vector<::std::string > > mSmallFeaturePasses

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