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

Add MetaDataRef:get_keys (#12841)

This commit is contained in:
Jude Melton-Houghton
2022-11-15 10:45:12 -05:00
committed by GitHub
parent 1a045da0dd
commit cd8a7fe472
20 changed files with 125 additions and 0 deletions

View File

@@ -92,6 +92,7 @@ public:
virtual ~ModMetadataDatabase() = default;
virtual bool getModEntries(const std::string &modname, StringMap *storage) = 0;
virtual bool getModKeys(const std::string &modname, std::vector<std::string> *storage) = 0;
virtual bool hasModEntry(const std::string &modname, const std::string &key) = 0;
virtual bool getModEntry(const std::string &modname,
const std::string &key, std::string *value) = 0;