InstalledScan Discover(const std::filesystem::path &plugins)
std::expected< void, Error > Status
Status ValidateDescriptor(const PluginDescriptor *descriptor, std::string_view hostVersion)
One failure: a code to branch on, text for the log, and an optional translation key.
std::vector< PluginManifest > Plugins
std::vector< RefusedPlugin > Refused
std::string LogTag
prefixes the plugin's log lines; its name unless the file says otherwise
std::vector< std::string > OptionalDependencies
VoltMod::LogLevel LogLevel
std::vector< std::string > Dependencies
Required: a missing one refuses this plugin.