MCPcopy Create free account
hub / github.com/OpenKneeboard/OpenKneeboard / GetSavedGamesPath

Method GetSavedGamesPath

src/games/DCSWorld.cpp:129–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129std::filesystem::path DCSWorld::GetSavedGamesPath(Version version) {
130 const auto savedGames = Filesystem::GetKnownFolderPath<FOLDERID_SavedGames>();
131
132 switch (version) {
133 case Version::OPEN_BETA:
134 return savedGames / "DCS.openbeta";
135 case Version::STABLE:
136 return savedGames / "DCS";
137 }
138 return {};
139}
140
141std::string DCSWorld::GetUserFriendlyName(
142 const std::filesystem::path& _path) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected