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
7
namespace
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
*/
16
std::vector<std::string>
GameSearchPaths
(std::string_view
gameinfo
);
17
18
}
// namespace VoltMod
VoltMod
Definition
Options.hpp:13
VoltMod::ReadFile
static std::string ReadFile(const std::filesystem::path &path)
Definition
Loader.cpp:56
VoltMod::GameSearchPaths
std::vector< std::string > GameSearchPaths(std::string_view gameinfo)
The Game values under SearchPaths in a gameinfo.gi, in file order.
Definition
GameSearchPaths.cpp:36
src
Loader
GameSearchPaths.hpp
Generated by
1.9.8