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

Public Member Functions

BakedPackAccessStrategy & operator= (BakedPackAccessStrategy const &)
 BakedPackAccessStrategy (BakedPackAccessStrategy const &)
virtual uint64 getPackSize () const
virtual::ResourceLocation const & getPackLocation () const
virtual::std::string const & getPackName () const
virtual bool isWritable () const
virtual bool isTrusted () const
virtual bool hasAsset (::Core::PathView const &packRelativePath, bool trustedContentOnly, bool) const
virtual bool hasFolder (::Core::Path const &packRelativePath) const
virtual bool getAsset (::Core::PathView const &packRelativePath, ::std::string &result, bool trustedContentOnly) const
virtual void forEachIn (::Core::Path const &packRelativePath, ::std::function< void(::Core::Path const &)> callback, bool) const
virtual void forEachInAssetSet (::Core::Path const &packRelativePath, ::std::function< void(::Core::Path const &)> callback) const
virtual::PackAccessStrategyType getStrategyType () const
virtual ::std::unique_ptr<::PackAccessStrategy > createSubPack (::Core::Path const &subPath) const
virtual::PackAccessAssetGenerationResult generateAssetSet ()
virtual void unload ()
virtual ::Bedrock::Result<::StreamableAssetSource > getStreamableSource (::Core::Path const &packRelativePath, ::std::optional<::Core::PathView > tempDirectory) const
MCAPI BakedPackAccessStrategy (::ResourceLocation const &packLocation, ::Core::Path brpakPath, ::std::shared_ptr<::Bedrock::Resources::BrpakIndex const > index, ::gsl::not_null<::std::shared_ptr<::Core::FileHandlePool > > handlePool, ::std::string subPath)
MCAPI void _forEachEntry (::brstd::function_ref< void(::std::string const &, ::Bedrock::Resources::BrpakIndexEntry const &)> callback) const
MCAPI void * $ctor (::ResourceLocation const &packLocation, ::Core::Path brpakPath, ::std::shared_ptr<::Bedrock::Resources::BrpakIndex const > index, ::gsl::not_null<::std::shared_ptr<::Core::FileHandlePool > > handlePool, ::std::string subPath)
MCAPI uint64 $getPackSize () const
MCAPI::ResourceLocation const & $getPackLocation () const
MCAPI::std::string const & $getPackName () const
MCAPI bool $isWritable () const
MCAPI bool $isTrusted () const
MCAPI bool $hasAsset (::Core::PathView const &packRelativePath, bool trustedContentOnly, bool) const
MCAPI bool $hasFolder (::Core::Path const &packRelativePath) const
MCAPI bool $getAsset (::Core::PathView const &packRelativePath, ::std::string &result, bool trustedContentOnly) const
MCAPI void $forEachIn (::Core::Path const &packRelativePath, ::std::function< void(::Core::Path const &)> callback, bool) const
MCAPI void $forEachInAssetSet (::Core::Path const &packRelativePath, ::std::function< void(::Core::Path const &)> callback) const
MCAPI::PackAccessStrategyType $getStrategyType () const
MCAPI ::std::unique_ptr<::PackAccessStrategy > $createSubPack (::Core::Path const &subPath) const
MCAPI::PackAccessAssetGenerationResult $generateAssetSet ()
MCAPI void $unload ()
MCAPI ::Bedrock::Result<::StreamableAssetSource > $getStreamableSource (::Core::Path const &packRelativePath, ::std::optional<::Core::PathView > tempDirectory) const
virtual ::Core::PathBuffer<::std::string > const & getSubPath () const
virtual bool supportsSignatureVerification () const
virtual::PackAccessAssetGenerationResult regenerateAssetSet ()
virtual bool canRecurse () const
virtual::ContentIdentity readContentIdentity () const
virtual bool isAssetExtractionViable () const
virtual ::std::unique_ptr<::Bedrock::Resources::Archive::Reader > _loadArchive (::Core::Path const &packRelativePath) const
virtual ::std::vector<::Bedrock::Resources::PreloadedPathHandle > _preloadSubFolders (::Core::Path const &packRelativePath) const
MCAPI::Bedrock::Resources::PreloadedPathHandle preloadArchive (::Core::Path const &packRelativePath) const
MCAPI ::std::vector<::Bedrock::Resources::PreloadedPathHandle > preloadPath (::Core::Path const &packRelativePath) const
MCAPI void * $ctor (::std::unique_ptr<::PackAssetSet > &&assetSet, ::gsl::not_null<::std::shared_ptr<::Core::FileHandlePool > > handlePool)
MCAPI void $dtor ()
MCAPI ::Core::PathBuffer<::std::string > const & $getSubPath () const
MCAPI bool $supportsSignatureVerification () const
MCAPI::PackAccessAssetGenerationResult $regenerateAssetSet ()
MCAPI bool $canRecurse () const
MCAPI::ContentIdentity $readContentIdentity () const
MCAPI bool $isAssetExtractionViable () const
MCAPI ::std::unique_ptr<::Bedrock::Resources::Archive::Reader > $_loadArchive (::Core::Path const &packRelativePath) const
MCAPI ::std::vector<::Bedrock::Resources::PreloadedPathHandle > $_preloadSubFolders (::Core::Path const &packRelativePath) const

Static Public Member Functions

static MCAPI ::std::string _getParentDirectory (::std::string const &path)
static MCAPI ::Core::PathBuffer<::Core::BasicStackString< char, 1024 > > _normalizeEntryPath (::Core::PathView const &path)
static MCAPI ::Core::PathBuffer<::Core::BasicStackString< char, 1024 > > const & ARCHIVE_EXTENSION ()
static MCAPI ::Core::PathBuffer<::Core::BasicStackString< char, 1024 > > const & ARCHIVE_FOLDER ()
static MCAPI ::Core::PathBuffer<::std::string > const & PACK_IMPORT_LOCK_FILE ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::UntypedStorage< 8, 56 > mUnk8333dc
::ll::UntypedStorage< 8, 32 > mUnkb688cc
::ll::UntypedStorage< 8, 32 > mUnk8710a2
::ll::UntypedStorage< 8, 16 > mUnk7549d9
::ll::UntypedStorage< 8, 32 > mUnk993a95
::ll::UntypedStorage< 8, 64 > mUnkf4b592
::ll::UntypedStorage< 8, 16 > mUnk962cf5
::ll::UntypedStorage< 8, 16 > mUnk2ff3dc
::ll::UntypedStorage< 8, 16 > mUnkb0ada6

Constructor & Destructor Documentation

◆ BakedPackAccessStrategy()

MCAPI BakedPackAccessStrategy::BakedPackAccessStrategy ( ::ResourceLocation const & packLocation,
::Core::Path brpakPath,
::std::shared_ptr<::Bedrock::Resources::BrpakIndex const > index,
::gsl::not_null<::std::shared_ptr<::Core::FileHandlePool > > handlePool,
::std::string subPath )
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

◆ getPackSize()

virtual uint64 BakedPackAccessStrategy::getPackSize ( ) const
virtual

Implements PackAccessStrategy.

◆ getPackLocation()

virtual::ResourceLocation const & BakedPackAccessStrategy::getPackLocation ( ) const
virtual

Implements PackAccessStrategy.

◆ getPackName()

virtual::std::string const & BakedPackAccessStrategy::getPackName ( ) const
virtual

Implements PackAccessStrategy.

◆ isWritable()

virtual bool BakedPackAccessStrategy::isWritable ( ) const
virtual

Implements PackAccessStrategy.

◆ isTrusted()

virtual bool BakedPackAccessStrategy::isTrusted ( ) const
virtual

Implements PackAccessStrategy.

◆ hasAsset()

virtual bool BakedPackAccessStrategy::hasAsset ( ::Core::PathView const & packRelativePath,
bool trustedContentOnly,
bool  ) const
virtual

Implements PackAccessStrategy.

◆ hasFolder()

virtual bool BakedPackAccessStrategy::hasFolder ( ::Core::Path const & packRelativePath) const
virtual

Implements PackAccessStrategy.

◆ getAsset()

virtual bool BakedPackAccessStrategy::getAsset ( ::Core::PathView const & packRelativePath,
::std::string & result,
bool trustedContentOnly ) const
virtual

Implements PackAccessStrategy.

◆ forEachIn()

virtual void BakedPackAccessStrategy::forEachIn ( ::Core::Path const & packRelativePath,
::std::function< void(::Core::Path const &)> callback,
bool  ) const
virtual

Implements PackAccessStrategy.

◆ forEachInAssetSet()

virtual void BakedPackAccessStrategy::forEachInAssetSet ( ::Core::Path const & packRelativePath,
::std::function< void(::Core::Path const &)> callback ) const
virtual

Reimplemented from PackAccessStrategy.

◆ getStrategyType()

virtual::PackAccessStrategyType BakedPackAccessStrategy::getStrategyType ( ) const
virtual

Implements PackAccessStrategy.

◆ createSubPack()

virtual ::std::unique_ptr<::PackAccessStrategy > BakedPackAccessStrategy::createSubPack ( ::Core::Path const & subPath) const
virtual

Implements PackAccessStrategy.

◆ unload()

virtual void BakedPackAccessStrategy::unload ( )
virtual

Implements PackAccessStrategy.

◆ getStreamableSource()

virtual ::Bedrock::Result<::StreamableAssetSource > BakedPackAccessStrategy::getStreamableSource ( ::Core::Path const & packRelativePath,
::std::optional<::Core::PathView > tempDirectory ) const
virtual

Implements PackAccessStrategy.

◆ _forEachEntry()

MCAPI void BakedPackAccessStrategy::_forEachEntry ( ::brstd::function_ref< void(::std::string const &, ::Bedrock::Resources::BrpakIndexEntry const &)> callback) 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.

◆ _getParentDirectory()

MCAPI ::std::string BakedPackAccessStrategy::_getParentDirectory ( ::std::string 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.

◆ _normalizeEntryPath()

MCAPI ::Core::PathBuffer<::Core::BasicStackString< char, 1024 > > BakedPackAccessStrategy::_normalizeEntryPath ( ::Core::PathView 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.

◆ $ctor() [1/2]

MCAPI void * BakedPackAccessStrategy::$ctor ( ::ResourceLocation const & packLocation,
::Core::Path brpakPath,
::std::shared_ptr<::Bedrock::Resources::BrpakIndex const > index,
::gsl::not_null<::std::shared_ptr<::Core::FileHandlePool > > handlePool,
::std::string subPath )
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.

◆ $getPackSize()

MCAPI uint64 BakedPackAccessStrategy::$getPackSize ( ) 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.

◆ $getPackLocation()

MCAPI::ResourceLocation const & BakedPackAccessStrategy::$getPackLocation ( ) 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.

◆ $getPackName()

MCAPI::std::string const & BakedPackAccessStrategy::$getPackName ( ) 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.

◆ $isWritable()

MCAPI bool BakedPackAccessStrategy::$isWritable ( ) 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.

◆ $isTrusted()

MCAPI bool BakedPackAccessStrategy::$isTrusted ( ) 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.

◆ $hasAsset()

MCAPI bool BakedPackAccessStrategy::$hasAsset ( ::Core::PathView const & packRelativePath,
bool trustedContentOnly,
bool  ) 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.

◆ $hasFolder()

MCAPI bool BakedPackAccessStrategy::$hasFolder ( ::Core::Path const & packRelativePath) 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.

◆ $getAsset()

MCAPI bool BakedPackAccessStrategy::$getAsset ( ::Core::PathView const & packRelativePath,
::std::string & result,
bool trustedContentOnly ) 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.

◆ $forEachIn()

MCAPI void BakedPackAccessStrategy::$forEachIn ( ::Core::Path const & packRelativePath,
::std::function< void(::Core::Path const &)> callback,
bool  ) 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.

◆ $forEachInAssetSet()

MCAPI void BakedPackAccessStrategy::$forEachInAssetSet ( ::Core::Path const & packRelativePath,
::std::function< void(::Core::Path const &)> callback ) 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.

◆ $getStrategyType()

MCAPI::PackAccessStrategyType BakedPackAccessStrategy::$getStrategyType ( ) 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.

◆ $createSubPack()

MCAPI ::std::unique_ptr<::PackAccessStrategy > BakedPackAccessStrategy::$createSubPack ( ::Core::Path const & subPath) 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.

◆ $generateAssetSet()

MCAPI::PackAccessAssetGenerationResult BakedPackAccessStrategy::$generateAssetSet ( )
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.

◆ $unload()

MCAPI void BakedPackAccessStrategy::$unload ( )
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.

◆ $getStreamableSource()

MCAPI ::Bedrock::Result<::StreamableAssetSource > BakedPackAccessStrategy::$getStreamableSource ( ::Core::Path const & packRelativePath,
::std::optional<::Core::PathView > tempDirectory ) 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.

◆ preloadArchive()

MCAPI::Bedrock::Resources::PreloadedPathHandle PackAccessStrategy::preloadArchive ( ::Core::Path const & packRelativePath) const
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.

◆ preloadPath()

MCAPI ::std::vector<::Bedrock::Resources::PreloadedPathHandle > PackAccessStrategy::preloadPath ( ::Core::Path const & packRelativePath) const
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.

◆ ARCHIVE_EXTENSION()

MCAPI ::Core::PathBuffer<::Core::BasicStackString< char, 1024 > > const & PackAccessStrategy::ARCHIVE_EXTENSION ( )
staticinherited
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.

◆ ARCHIVE_FOLDER()

MCAPI ::Core::PathBuffer<::Core::BasicStackString< char, 1024 > > const & PackAccessStrategy::ARCHIVE_FOLDER ( )
staticinherited
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_IMPORT_LOCK_FILE()

MCAPI ::Core::PathBuffer<::std::string > const & PackAccessStrategy::PACK_IMPORT_LOCK_FILE ( )
staticinherited
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 * PackAccessStrategy::$ctor ( ::std::unique_ptr<::PackAssetSet > && assetSet,
::gsl::not_null<::std::shared_ptr<::Core::FileHandlePool > > handlePool )
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.

◆ $dtor()

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

◆ $getSubPath()

MCAPI ::Core::PathBuffer<::std::string > const & PackAccessStrategy::$getSubPath ( ) const
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.

◆ $supportsSignatureVerification()

MCAPI bool PackAccessStrategy::$supportsSignatureVerification ( ) const
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.

◆ $regenerateAssetSet()

MCAPI::PackAccessAssetGenerationResult PackAccessStrategy::$regenerateAssetSet ( )
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.

◆ $canRecurse()

MCAPI bool PackAccessStrategy::$canRecurse ( ) const
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.

◆ $readContentIdentity()

MCAPI::ContentIdentity PackAccessStrategy::$readContentIdentity ( ) const
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.

◆ $isAssetExtractionViable()

MCAPI bool PackAccessStrategy::$isAssetExtractionViable ( ) const
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.

◆ $_loadArchive()

MCAPI ::std::unique_ptr<::Bedrock::Resources::Archive::Reader > PackAccessStrategy::$_loadArchive ( ::Core::Path const & packRelativePath) const
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.

◆ $_preloadSubFolders()

MCAPI ::std::vector<::Bedrock::Resources::PreloadedPathHandle > PackAccessStrategy::$_preloadSubFolders ( ::Core::Path const & packRelativePath) const
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.

◆ $vftable()

MCAPI void ** PackAccessStrategy::$vftable ( )
staticinherited
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: