// This Header is auto generated by BDSLiteLoader Toolchain #pragma once #define AUTO_GENERATED #include "../Global.h" #include "Core.hpp" #include "DirectoryPackAccessStrategy.hpp" #define BEFORE_EXTRA #undef BEFORE_EXTRA class EncryptedFileAccessStrategy : public DirectoryPackAccessStrategy { #define AFTER_EXTRA #undef AFTER_EXTRA #ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENCRYPTEDFILEACCESSSTRATEGY public: class EncryptedFileAccessStrategy& operator=(class EncryptedFileAccessStrategy const &) = delete; EncryptedFileAccessStrategy(class EncryptedFileAccessStrategy const &) = delete; EncryptedFileAccessStrategy() = delete; #endif public: /*0*/ virtual ~EncryptedFileAccessStrategy(); /*4*/ virtual bool isWritable() const; /*6*/ virtual bool isTrusted() const; /*7*/ virtual bool hasAsset(class Core::Path const &, bool) const; /*9*/ virtual bool getAsset(class Core::Path const &, std::string &, bool) const; /*10*/ virtual bool deleteAsset(class Core::PathBuffer const &); /*11*/ virtual bool writeAsset(class Core::Path const &, std::string const &); /*16*/ virtual std::unique_ptr createSubPack(class Core::Path const &) const; /*17*/ virtual enum PackAccessAssetGenerationResult generateAssetSet(); /*21*/ virtual class ContentIdentity readContentIdentity() const; #ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENCRYPTEDFILEACCESSSTRATEGY #endif MCAPI EncryptedFileAccessStrategy(class ResourceLocation const &, class ContentIdentity const &, class IContentKeyProvider const &, bool, class std::optional, std::string, struct std::hash>, struct std::equal_to>, class std::allocator const, std::string>>>>); MCAPI static bool isValidEncryptedPack(class Core::Path const &, class ContentIdentity &); //protected: MCAPI std::string _getContentsFile(); //private: MCAPI static bool _getContentIdentityFromEncryptedStream(std::string &, class ContentIdentity &); MCAPI static void _transformStream(std::string &, std::string const &, unsigned __int64); protected: private: };