1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02:00

Automatically migrate client mod storage (#11960)

This commit is contained in:
Jude Melton-Houghton
2022-01-27 16:24:30 -05:00
committed by GitHub
parent 47735c273c
commit fc161e757c
3 changed files with 43 additions and 5 deletions

View File

@@ -385,6 +385,9 @@ public:
bool registerModStorage(ModMetadata *meta) override;
void unregisterModStorage(const std::string &name) override;
// Migrates away old files-based mod storage if necessary
void migrateModStorage();
// The following set of functions is used by ClientMediaDownloader
// Insert a media file appropriately into the appropriate manager
bool loadMedia(const std::string &data, const std::string &filename,