11 const auto it = std::ranges::find(_saved, name, &Snapshot::Name);
12 if (it == _saved.end())
17 Write(it->Name, it->Value);
23 for (
const auto& entry : _saved)
25 Write(entry.Name, entry.Value);
30void ConVarOverrides::Write(std::string_view name, std::string_view value)
void Restore(const ConVar< T > &cvar)
void SetByConsole(std::string_view name, std::string_view value)
Assign a convar over the console, quoting the value.