Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Pack Class Reference

Public Types

using UpgradeLegacyDependencies = ::std::vector<::PackIdVersion>

Public Member Functions

MCAPI Pack (::I18n &loc, ::std::unique_ptr<::PackManifest > manifest, ::std::unique_ptr<::PackAccessStrategy > accessStrategy, ::SubpackInfoCollection subpacks, ::std::unique_ptr<::PackMetadata > metadata, ::std::optional< bool > isBaseGameOverride)
MCAPI void move (::Pack &&pack)
MCAPI void upgradeLegacyDependencies (::std::unique_ptr<::std::vector<::PackIdVersion > const > upgrade)
MCAPI ~Pack ()
MCAPI void * $ctor (::I18n &loc, ::std::unique_ptr<::PackManifest > manifest, ::std::unique_ptr<::PackAccessStrategy > accessStrategy, ::SubpackInfoCollection subpacks, ::std::unique_ptr<::PackMetadata > metadata, ::std::optional< bool > isBaseGameOverride)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::std::unique_ptr<::Pack > createPack (::IPackIOProvider const &io, ::ResourceLocation const &fileLocation, ::PackType type, ::PackOrigin origin, ::IPackManifestFactory &manifestFactory, ::Bedrock::NonOwnerPointer<::IContentKeyProvider const > keyProvider, ::PackSourceReport *report, ::Core::Path const &zipSubDir)
static MCAPI ::std::unique_ptr<::PackMetadata > createPackMetadata (::PackType type, ::PackManifest &manifest, ::PackAccessStrategy const &accessStrategy, ::PackReport &report)
static MCAPI ::Core::PathBuffer<::std::string > const & EDUCATION_METADATA_FILE ()

Public Attributes

::ll::TypedStorage< 8, 8, ::std::unique_ptr<::PackManifest > > mManifest
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::PackAccessStrategy > > mAccessStrategy
::ll::TypedStorage< 8, 24, ::SubpackInfoCollection > mSubpackInfoStack
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::PackMetadata > > mMetadata
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::std::vector<::PackIdVersion > const > > mDependenciesUpgrade
::ll::TypedStorage< 1, 1, uchar > mRevision
::ll::TypedStorage< 1, 2, ::std::optional< bool > > mIsBaseGameOverride

Constructor & Destructor Documentation

◆ Pack()

MCAPI Pack::Pack ( ::I18n & loc,
::std::unique_ptr<::PackManifest > manifest,
::std::unique_ptr<::PackAccessStrategy > accessStrategy,
::SubpackInfoCollection subpacks,
::std::unique_ptr<::PackMetadata > metadata,
::std::optional< bool > isBaseGameOverride )
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.

◆ ~Pack()

MCAPI Pack::~Pack ( )
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

◆ move()

MCAPI void Pack::move ( ::Pack && pack)
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.

◆ upgradeLegacyDependencies()

MCAPI void Pack::upgradeLegacyDependencies ( ::std::unique_ptr<::std::vector<::PackIdVersion > const > upgrade)
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.

◆ createPack()

MCAPI ::std::unique_ptr<::Pack > Pack::createPack ( ::IPackIOProvider const & io,
::ResourceLocation const & fileLocation,
::PackType type,
::PackOrigin origin,
::IPackManifestFactory & manifestFactory,
::Bedrock::NonOwnerPointer<::IContentKeyProvider const > keyProvider,
::PackSourceReport * report,
::Core::Path const & zipSubDir )
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.

◆ createPackMetadata()

MCAPI ::std::unique_ptr<::PackMetadata > Pack::createPackMetadata ( ::PackType type,
::PackManifest & manifest,
::PackAccessStrategy const & accessStrategy,
::PackReport & report )
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.

◆ EDUCATION_METADATA_FILE()

MCAPI ::Core::PathBuffer<::std::string > const & Pack::EDUCATION_METADATA_FILE ( )
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()

MCAPI void * Pack::$ctor ( ::I18n & loc,
::std::unique_ptr<::PackManifest > manifest,
::std::unique_ptr<::PackAccessStrategy > accessStrategy,
::SubpackInfoCollection subpacks,
::std::unique_ptr<::PackMetadata > metadata,
::std::optional< bool > isBaseGameOverride )
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.

◆ $dtor()

MCAPI void Pack::$dtor ( )
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: