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 void setIsTrusted(
bool) ;
65 virtual bool hasAsset(
::Core::Path const& packRelativePath,
bool trustedContentOnly,
bool caseSensative)
const
69 virtual bool hasFolder(
::Core::Path const& packRelativePath)
const ;
72 virtual bool getAsset(
::Core::Path const& packRelativePath, ::std::string& result,
bool trustedContentOnly)
const
76 virtual bool deleteAsset(
::Core::Path const& packRelativePath) ;
79 virtual bool writeAsset(
::Core::Path const& packRelativePath, ::std::string
const& fileContent) ;
82 virtual void forEachIn(
89 virtual ::PackAccessStrategyType getStrategyType()
const ;
92 virtual ::std::unique_ptr<::PackAccessStrategy> createSubPack(
::Core::Path const& subPath)
const ;
95 virtual ::PackAccessAssetGenerationResult generateAssetSet() ;
98 virtual void unload() ;
101 virtual bool hasUpgradeFiles()
const ;
104 virtual ::ContentIdentity readContentIdentity()
const ;
113 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider,
117 MCAPI
bool _getUnencryptedAsset(
::Core::Path const& packRelativePath, ::std::string& result)
const;
119 MCAPI
bool _hasUnencryptedAsset(
::Core::Path const& packRelativePath)
const;
128 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider,
142 MCAPI uint64 $getPackSize()
const;
144 MCFOLD ::ResourceLocation
const& $getPackLocation()
const;
146 MCFOLD ::std::string
const& $getPackName()
const;
148 MCFOLD
bool $isWritable()
const;
150 MCFOLD
bool $isTrusted()
const;
152 MCFOLD
void $setIsTrusted(
bool);
154 MCAPI
bool $hasAsset(
::Core::Path const& packRelativePath,
bool trustedContentOnly,
bool caseSensative)
const;
156 MCFOLD
bool $hasFolder(
::Core::Path const& packRelativePath)
const;
158 MCAPI
bool $getAsset(
::Core::Path const& packRelativePath, ::std::string& result,
bool trustedContentOnly)
const;
160 MCAPI
bool $deleteAsset(
::Core::Path const& packRelativePath);
162 MCAPI
bool $writeAsset(
::Core::Path const& packRelativePath, ::std::string
const& fileContent);
164 MCAPI
void $forEachIn(
170 MCFOLD ::PackAccessStrategyType $getStrategyType()
const;
172 MCAPI ::std::unique_ptr<::PackAccessStrategy> $createSubPack(
::Core::Path const& subPath)
const;
174 MCAPI ::PackAccessAssetGenerationResult $generateAssetSet();
176 MCAPI
void $unload();
178 MCAPI
bool $hasUpgradeFiles()
const;
180 MCAPI ::ContentIdentity $readContentIdentity()
const;
186 MCAPI
static void** $vftable();
Definition ContentIdentity.h:10
Definition IContentKeyProvider.h:13