3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/resource/PackOrigin.h"
7#include "mc/deps/core/resource/PackType.h"
8#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
9#include "mc/deps/core/utility/NonOwnerPointer.h"
10#include "mc/platform/brstd/function_ref.h"
21namespace PackCommand {
struct UpgradeLegacyDependenciesBatch; }
127 virtual void forEachPackShared(
::brstd::function_ref<
void(::gsl::not_null<::std::shared_ptr<::Pack>>)> callback);
130 virtual ::PackOrigin getPackOrigin()
const;
133 virtual ::PackType getPackType()
const;
136 virtual void _buildSourcesForLoad(::std::vector<::gsl::not_null<::PackSource*>>& sources);
149 MCNAPI ::PackSourceLoadResult
156 MCNAPI
void _setPacks(::std::vector<::gsl::not_null<::std::shared_ptr<::Pack>>>&& packs);
158 MCNAPI ::PackSourceReport
load(
160 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider
Definition EnableNonOwnerReferences.h:7
Definition IContentKeyProvider.h:13
Definition IPackManifestFactory.h:17
Definition PackSourceReport.h:5
Definition PackSource.h:49
Definition PackSource.h:35
Definition PackSource.h:63
Definition PackSource.h:24
MCAPI::PackSourceLoadResult _getTaskData(::brstd::function_ref<::PackSourceLoadResult(::std::shared_ptr<::PackSource::PackTaskData >)> task)
MCAPI void _setPacks(::std::vector<::gsl::not_null<::std::shared_ptr<::Pack > > > &&packs)
static MCAPI void ** $vftable()
MCAPI::PackSourceLoadResult _createImmediateLoadResult()
MCAPI::PackSourceReport load(::IPackManifestFactory &manifestFactory, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > const &keyProvider)
MCAPI void $forEachPackShared(::brstd::function_ref< void(::gsl::not_null<::std::shared_ptr<::Pack > >)> callback)
MCAPI void * $ctor(::PackSourceOptions options)
MCAPI::PackSourceLoadResult _returnOriginalPacks(::std::shared_ptr<::PackSource::PackTaskData > task)
MCAPI bool _removePack(::brstd::function_ref< bool(::Pack const &)> predicate)
MCAPI::PackSourceLoadResult requestLoad(::PackSourceLoadOptions &&options)
MCAPI void resolveUpgradeDependencies(::std::shared_ptr<::Pack > pack, ::PackCommand::UpgradeLegacyDependenciesBatch &commands)
MCAPI void $_buildSourcesForLoad(::std::vector<::gsl::not_null<::PackSource * > > &sources)
MCAPI::PackOrigin $getPackOrigin() const
MCAPI PackSource(::PackSourceOptions options)
MCAPI::PackType $getPackType() const
Definition function_ref.h:60
Definition UpgradeLegacyDependenciesBatch.h:7
Definition PackSourceLoadOptions.h:5
Definition PackSourceLoadResult.h:5
Definition PackSourceOptions.h:5
Definition PackSource.h:77