48 virtual uint64 getPackSize()
const ;
51 virtual ::ResourceLocation
const& getPackLocation()
const ;
54 virtual ::std::string
const& getPackName()
const ;
57 virtual void setIsTrusted(
bool newValue) ;
60 virtual bool isWritable()
const ;
63 virtual bool isTrusted()
const ;
66 virtual bool hasAsset(
::Core::Path const& packRelativePath,
bool trustedContentOnly,
bool caseSensative)
const
70 virtual bool hasFolder(
::Core::Path const& packRelativePath)
const ;
73 virtual bool getAsset(
::Core::Path const& packRelativePath, ::std::string& result,
bool trustedContentOnly)
const
77 virtual bool writeAsset(
::Core::Path const& packRelativePath, ::std::string
const& fileContent) ;
80 virtual bool deleteAsset(
::Core::Path const& packRelativePath) ;
83 virtual void forEachIn(
90 virtual ::PackAccessStrategyType getStrategyType()
const ;
93 virtual ::Core::PathBuffer<::std::string>
const& getSubPath()
const ;
96 virtual bool supportsSignatureVerification()
const ;
99 virtual ::std::unique_ptr<::PackAccessStrategy> createSubPack(
::Core::Path const& subPath)
const ;
102 virtual void unload() ;
105 virtual ::ContentIdentity readContentIdentity()
const ;
112 ::Bedrock::NotNullNonOwnerPtr<::IFileAccess>
const& fileAccess,
117 MCAPI
bool _tryReadFromPendingQueue(
::Core::Path const& packRelativePath, ::std::string& result)
const;
119 MCAPI
bool initZipFile()
const;
121 MCAPI
void shutdown();
128 ::Bedrock::NotNullNonOwnerPtr<::IFileAccess>
const& fileAccess,
143 MCAPI uint64 $getPackSize()
const;
145 MCFOLD ::ResourceLocation
const& $getPackLocation()
const;
147 MCFOLD ::std::string
const& $getPackName()
const;
149 MCAPI
void $setIsTrusted(
bool newValue);
151 MCFOLD
bool $isWritable()
const;
153 MCAPI
bool $isTrusted()
const;
155 MCAPI
bool $hasAsset(
::Core::Path const& packRelativePath,
bool trustedContentOnly,
bool caseSensative)
const;
157 MCAPI
bool $hasFolder(
::Core::Path const& packRelativePath)
const;
159 MCAPI
bool $getAsset(
::Core::Path const& packRelativePath, ::std::string& result,
bool trustedContentOnly)
const;
161 MCAPI
bool $writeAsset(
::Core::Path const& packRelativePath, ::std::string
const& fileContent);
163 MCAPI
bool $deleteAsset(
::Core::Path const& packRelativePath);
165 MCAPI
void $forEachIn(
171 MCFOLD ::PackAccessStrategyType $getStrategyType()
const;
173 MCFOLD ::Core::PathBuffer<::std::string>
const& $getSubPath()
const;
175 MCFOLD
bool $supportsSignatureVerification()
const;
177 MCAPI ::std::unique_ptr<::PackAccessStrategy> $createSubPack(
::Core::Path const& subPath)
const;
179 MCAPI
void $unload();
181 MCAPI ::ContentIdentity $readContentIdentity()
const;
187 MCAPI
static void** $vftable();
Definition ContentIdentity.h:10