|
VoltMod
C++23 framework for CS2 server plugins
|
Functions | |
| InstalledScan | Discover (const std::filesystem::path &plugins) |
SDK-free, so tests run it against a real plugins directory.
| InstalledScan VoltMod::InstalledPlugins::Discover | ( | const std::filesystem::path & | plugins | ) |
Every <plugins>/<name>/plugin.json. A directory without one is skipped silently; a malformed manifest, or one naming another plugin, is refused.
Definition at line 47 of file InstalledPlugins.cpp.
References VoltMod::Log::Error(), VoltMod::Error::Invalid(), VoltMod::ManifestName, VoltMod::ReadFile(), and VoltMod::Json::ReadFile().
Referenced by VoltMod::Installed().