37 void getModNames(std::vector<std::string> &modlist)
const;
39 inline const std::vector<ModSpec> &
getMods()
const {
ModConfiguration is a subset of installed mods.
Definition mod_configuration.h:18
const std::vector< ModSpec > & getUnsatisfiedMods() const
Definition mod_configuration.h:25
const std::vector< ModSpec > & getMods() const
List of mods sorted such that they can be loaded in the given order with all dependencies being fulfi...
Definition mod_configuration.h:37
std::string getUnsatisfiedModsError() const
Definition mod_configuration.cpp:15
bool isConsistent() const
Definition mod_configuration.h:23
Manages server mods.
Definition mods.h:18
const std::vector< ModSpec > & getUnsatisfiedMods() const
Definition mods.h:43
std::string getUnsatisfiedModsError() const
Definition mods.h:51
const ModSpec * getModSpec(const std::string &modname) const
Definition mods.cpp:62
void loadMods(ServerScripting &script)
Definition mods.cpp:38
ModConfiguration configuration
Definition mods.h:19
ServerModManager(std::nullptr_t)
Creates an empty ServerModManager.
Definition mods.h:33
bool isConsistent() const
Definition mods.h:47
const std::vector< ModSpec > & getMods() const
Definition mods.h:39
ServerModManager(const std::string &worldpath)
Creates a ServerModManager which targets worldpath.
Definition mods.cpp:22
void getModNames(std::vector< std::string > &modlist) const
Definition mods.cpp:72
void getModsMediaPaths(std::vector< std::string > &paths) const
Recursively gets all paths of mod folders that can contain media files.
Definition mods.cpp:78
Definition scripting_server.h:33