Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
DirectoryPackSource Class Reference
Inheritance diagram for DirectoryPackSource:

Public Member Functions

virtual::PackOrigin getPackOrigin () const
virtual::PackType getPackType () const
virtual::PackSourceLoadResult _loadImpl (::PackSourceLoadOptions &&options)
MCAPI DirectoryPackSource (::DirectoryPackSourceOptions options)
MCAPI void deleteAllPacksAndReset ()
MCAPI void * $ctor (::DirectoryPackSourceOptions options)
MCAPI::PackOrigin $getPackOrigin () const
MCAPI::PackType $getPackType () const
MCAPI::PackSourceLoadResult $_loadImpl (::PackSourceLoadOptions &&options)
virtual void forEachPackShared (::brstd::function_ref< void(::gsl::not_null<::std::shared_ptr<::Pack > >)> callback)
virtual void _buildSourcesForLoad (::std::vector<::gsl::not_null<::PackSource * > > &sources)
MCAPI void _addPack (::std::shared_ptr<::Pack > pack)
MCAPI::PackSourceLoadResult _applyAndFinishLoadTask (::std::shared_ptr<::PackTaskData > task)
MCAPI::PackSourceLoadResult _createImmediateLoadResult ()
MCAPI::PackSourceLoadResult _getTaskData (::brstd::function_ref<::PackSourceLoadResult(::std::shared_ptr<::PackTaskData >)> task)
MCAPI::PackSourceReport load (::IPackManifestFactory &manifestFactory, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > const &keyProvider)
MCAPI::PackSourceLoadResult loadImmediate (::IPackManifestFactory &manifestFactory, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > const &keyProvider)
MCAPI::PackSourceLoadResult requestLoad (::PackSourceLoadOptions &&options)
MCAPI void * $ctor (::PackSourceOptions options)
MCAPI void $forEachPackShared (::brstd::function_ref< void(::gsl::not_null<::std::shared_ptr<::Pack > >)> callback)
MCAPI void $_buildSourcesForLoad (::std::vector<::gsl::not_null<::PackSource * > > &sources)
MCFOLD void $dtor ()

Static Public Member Functions

static MCAPI void checkAndRemoveIncompletePacks (::Core::Path const &path)
static MCAPI void checkAndRemoveIncompletePacks (::Core::Path const &path, ::IPackIOProvider const &io, bool saveEncryptedWorldTemplatePacksAsZips)
static MCAPI void purgeOptimizedPremiumPacksIfRequested (bool purgeRequested, ::Core::Path const &path, ::IPackIOProvider const *io, ::brstd::function_ref< void(::PackDeletionTelemetry::EventData const &)> reportPackDeleted)
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > mPath
::ll::TypedStorage< 1, 1, ::PackType const > mPackType
::ll::TypedStorage< 1, 1, ::PackOrigin const > mPackOrigin
::ll::TypedStorage< 1, 1, bool > mDiscovered
::ll::TypedStorage< 1, 1, bool const > mIsRediscoverable
::ll::TypedStorage< 1, 1, bool const > mIsDevDirectory
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::PackCommand::IPackCommandPipeline > > mCommands
::ll::TypedStorage< 8, 8, ::gsl::not_null<::std::unique_ptr<::IPackIOProvider > > const > mIO
::ll::TypedStorage< 8, 8, ::gsl::not_null<::std::unique_ptr<::TaskGroup > > > mTaskGroup
::ll::TypedStorage< 8, 8, ::gsl::not_null<::std::unique_ptr<::PackStorageContainer > > > mContainer
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlock > mControlBlock

Constructor & Destructor Documentation

◆ DirectoryPackSource()

MCAPI DirectoryPackSource::DirectoryPackSource ( ::DirectoryPackSourceOptions options)
explicit
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.

Member Function Documentation

◆ _loadImpl()

virtual::PackSourceLoadResult DirectoryPackSource::_loadImpl ( ::PackSourceLoadOptions && options)
virtual

Implements PackSource.

◆ deleteAllPacksAndReset()

MCAPI void DirectoryPackSource::deleteAllPacksAndReset ( )
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.

◆ checkAndRemoveIncompletePacks() [1/2]

MCAPI void DirectoryPackSource::checkAndRemoveIncompletePacks ( ::Core::Path const & path)
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.

◆ checkAndRemoveIncompletePacks() [2/2]

MCAPI void DirectoryPackSource::checkAndRemoveIncompletePacks ( ::Core::Path const & path,
::IPackIOProvider const & io,
bool saveEncryptedWorldTemplatePacksAsZips )
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.

◆ purgeOptimizedPremiumPacksIfRequested()

MCAPI void DirectoryPackSource::purgeOptimizedPremiumPacksIfRequested ( bool purgeRequested,
::Core::Path const & path,
::IPackIOProvider const * io,
::brstd::function_ref< void(::PackDeletionTelemetry::EventData const &)> reportPackDeleted )
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.

◆ $ctor() [1/2]

MCAPI void * DirectoryPackSource::$ctor ( ::DirectoryPackSourceOptions options)
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.

◆ $getPackOrigin()

MCAPI::PackOrigin DirectoryPackSource::$getPackOrigin ( ) 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.

◆ $getPackType()

MCAPI::PackType DirectoryPackSource::$getPackType ( ) 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.

◆ $_loadImpl()

MCAPI::PackSourceLoadResult DirectoryPackSource::$_loadImpl ( ::PackSourceLoadOptions && options)
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.

◆ $vftable()

MCAPI void ** DirectoryPackSource::$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.

◆ _addPack()

MCAPI void PackSource::_addPack ( ::std::shared_ptr<::Pack > pack)
inherited
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.

◆ _applyAndFinishLoadTask()

MCAPI::PackSourceLoadResult PackSource::_applyAndFinishLoadTask ( ::std::shared_ptr<::PackTaskData > task)
inherited
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.

◆ _createImmediateLoadResult()

MCAPI::PackSourceLoadResult PackSource::_createImmediateLoadResult ( )
inherited
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.

◆ _getTaskData()

MCAPI::PackSourceLoadResult PackSource::_getTaskData ( ::brstd::function_ref<::PackSourceLoadResult(::std::shared_ptr<::PackTaskData >)> task)
inherited
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.

◆ load()

MCAPI::PackSourceReport PackSource::load ( ::IPackManifestFactory & manifestFactory,
::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > const & keyProvider )
inherited
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.

◆ loadImmediate()

MCAPI::PackSourceLoadResult PackSource::loadImmediate ( ::IPackManifestFactory & manifestFactory,
::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > const & keyProvider )
inherited
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.

◆ requestLoad()

MCAPI::PackSourceLoadResult PackSource::requestLoad ( ::PackSourceLoadOptions && options)
inherited
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.

◆ $ctor() [2/2]

MCAPI void * PackSource::$ctor ( ::PackSourceOptions options)
inherited
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.

◆ $forEachPackShared()

MCAPI void PackSource::$forEachPackShared ( ::brstd::function_ref< void(::gsl::not_null<::std::shared_ptr<::Pack > >)> callback)
inherited
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.

◆ $_buildSourcesForLoad()

MCAPI void PackSource::$_buildSourcesForLoad ( ::std::vector<::gsl::not_null<::PackSource * > > & sources)
inherited
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: