Automatically migrate client mod storage (#11960)
This commit is contained in:
committed by
GitHub
parent
47735c273c
commit
fc161e757c
@@ -385,6 +385,9 @@ class Client : public con::PeerHandler, public InventoryManager, public IGameDef
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user