Add support for config savegame

This commit is contained in:
zhupengfei
2019-10-02 20:06:39 +08:00
parent 380a1da748
commit 5cbe69388f
5 changed files with 56 additions and 16 deletions
+6 -6
View File
@@ -121,12 +121,6 @@ public:
*/
virtual bool Extract(std::string path) const = 0;
protected:
/**
* Gets the ArchiveFormatInfo of this archive, used for writing the archive metadata.
*/
virtual ArchiveFormatInfo GetFormatInfo() const = 0;
/**
* Extracts the index-th file in the file entry table to a certain path. (The path does not
* contain the file name).
@@ -146,6 +140,12 @@ protected:
*/
bool WriteMetadata(const std::string& path) const;
protected:
/**
* Gets the ArchiveFormatInfo of this archive, used for writing the archive metadata.
*/
virtual ArchiveFormatInfo GetFormatInfo() const = 0;
bool is_good = false;
FATHeader header;
FileSystemInformation fs_info;