1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

Add world-independent storage directory for mods (#12315)

Fixes #4821
This commit is contained in:
rubenwardy 2024-03-24 17:18:58 +00:00 committed by GitHub
parent b42b03bc40
commit 6c4a110679
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 44 additions and 0 deletions

View file

@ -75,6 +75,7 @@ public:
virtual const ModSpec* getModSpec(const std::string &modname) const = 0;
virtual const SubgameSpec* getGameSpec() const { return nullptr; }
virtual std::string getWorldPath() const { return ""; }
virtual std::string getModDataPath() const { return ""; }
virtual ModStorageDatabase *getModStorageDatabase() = 0;
virtual bool joinModChannel(const std::string &channel) = 0;