VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
GameSearchPaths.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include <string_view>
5#include <vector>
6
7namespace VoltMod
8{
9
10/**
11 * @brief The `Game` values under `SearchPaths` in a `gameinfo.gi`, in file order.
12 *
13 * Other keys (`Game_LowViolence`, `Mod`...), comments, quotes and trailing conditions are dropped.
14 * The values are relative to the `game` directory.
15 */
16std::vector<std::string> GameSearchPaths(std::string_view gameinfo);
17
18} // namespace VoltMod
static std::string ReadFile(const std::filesystem::path &path)
Definition Loader.cpp:56
std::vector< std::string > GameSearchPaths(std::string_view gameinfo)
The Game values under SearchPaths in a gameinfo.gi, in file order.