22 std::unique_ptr<Impl> impl;
25 LLNDAPI std::string
const& getType()
const;
27 LLNDAPI
bool hasMod(std::string_view name)
const;
29 LLNDAPI std::shared_ptr<Mod> getMod(std::string_view name)
const;
31 LLNDAPI
size_t getModCount()
const;
36 LLNDAPI std::lock_guard<std::recursive_mutex> lock()
const;
38 LLNDAPI
explicit ModManager(std::string_view type);
42 LLAPI
void addMod(std::string_view name, std::shared_ptr<Mod>
const& mod);
44 LLAPI
void eraseMod(std::string_view name);
46 virtual Expected<> load(
Manifest manifest) = 0;
48 virtual Expected<> unload(std::string_view name) = 0;
50 LLAPI
virtual Expected<> enable(std::string_view name);
52 LLAPI
virtual Expected<> disable(std::string_view name);