3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/resources/PackAccessAssetGenerationResult.h"
8#include "mc/resources/PackAccessStrategy.h"
9#include "mc/resources/PackAccessStrategyType.h"
17namespace Core {
class Path; }
47 virtual uint64 getPackSize()
const ;
50 virtual ::ResourceLocation
const& getPackLocation()
const ;
53 virtual ::std::string
const& getPackName()
const ;
56 virtual bool isWritable()
const ;
59 virtual bool isTrusted()
const ;
62 virtual bool hasAsset(
::Core::Path const& packRelativePath,
bool trustedContentOnly,
bool caseSensative)
const
66 virtual bool hasFolder(
::Core::Path const& packRelativePath)
const ;
69 virtual bool getAsset(
::Core::Path const& packRelativePath, ::std::string& result,
bool trustedContentOnly)
const
73 virtual void forEachIn(
80 virtual ::PackAccessStrategyType getStrategyType()
const ;
83 virtual ::std::unique_ptr<::PackAccessStrategy> createSubPack(
::Core::Path const& subPath)
const ;
86 virtual ::PackAccessAssetGenerationResult generateAssetSet() ;
89 virtual void unload() ;
92 virtual ::ContentIdentity readContentIdentity()
const ;
101 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider,
114 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider,
Definition ContentIdentity.h:8
Definition DirectoryPackWithEncryptionAccessStrategy.h:20
MCAPI bool _getUnencryptedAsset(::Core::Path const &packRelativePath, ::std::string &result) const
MCAPI::std::string const & $getPackName() const
MCAPI bool $getAsset(::Core::Path const &packRelativePath, ::std::string &result, bool trustedContentOnly) const
MCAPI::PackAccessAssetGenerationResult $generateAssetSet()
MCAPI uint64 $getPackSize() const
MCAPI void $forEachIn(::Core::Path const &packRelativePath, ::std::function< void(::Core::Path const &)> callback, bool recurseAnyways) const
MCAPI bool $hasAsset(::Core::Path const &packRelativePath, bool trustedContentOnly, bool caseSensative) const
static MCAPI void ** $vftable()
MCAPI::ContentIdentity $readContentIdentity() const
MCAPI void * $ctor(::ResourceLocation const &packLocation, ::ResourceLocation const &encryptedContentLocation, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > const &keyProvider, ::IFileAccess &fileAccess)
MCAPI ::std::unique_ptr<::PackAccessStrategy > $createSubPack(::Core::Path const &subPath) const
MCAPI bool $isWritable() const
MCAPI DirectoryPackWithEncryptionAccessStrategy(::ResourceLocation const &packLocation, ::ResourceLocation const &encryptedContentLocation, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > const &keyProvider, ::IFileAccess &fileAccess)
MCAPI::ResourceLocation const & $getPackLocation() const
MCAPI::PackAccessStrategyType $getStrategyType() const
MCAPI bool $isTrusted() const
MCAPI bool $hasFolder(::Core::Path const &packRelativePath) const
Definition IContentKeyProvider.h:13
Definition IFileAccess.h:15
Definition PackAccessStrategy.h:20
Definition ResourceLocation.h:14