summaryrefslogtreecommitdiff
path: root/src/client/client.h
diff options
context:
space:
mode:
authorJude Melton-Houghton <jwmhjwmh@gmail.com>2022-01-27 16:24:30 -0500
committerGitHub <noreply@github.com>2022-01-27 22:24:30 +0100
commitfc161e757c14a0d0b86e69fb5ec631fae8b448de (patch)
treed9fc31818916ab8f40238420e1e672fea5e121d9 /src/client/client.h
parent47735c273c96e582f6e9bceee223270ad2a99236 (diff)
downloadminetest-fc161e757c14a0d0b86e69fb5ec631fae8b448de.tar.gz
minetest-fc161e757c14a0d0b86e69fb5ec631fae8b448de.tar.bz2
minetest-fc161e757c14a0d0b86e69fb5ec631fae8b448de.zip
Automatically migrate client mod storage (#11960)
Diffstat (limited to 'src/client/client.h')
-rw-r--r--src/client/client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/client.h b/src/client/client.h
index 694cd7d1b..84c85471d 100644
--- a/src/client/client.h
+++ b/src/client/client.h
@@ -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,