MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / getPathNoWarning

Function getPathNoWarning

src/OpenLoco/src/Environment.cpp:186–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184 }
185
186 fs::path getPathNoWarning(PathId id)
187 {
188 if (id == PathId::save)
189 {
190 return _configurablePaths.saves;
191 }
192 else if (id == PathId::landscape)
193 {
194 return _configurablePaths.landscapes;
195 }
196 else
197 {
198 return getDefaultPathNoWarning(id);
199 }
200 }
201
202 template<typename T>
203 static void setDirectory(T& buffer, fs::path path)

Callers 11

exitCleanlyFunction · 0.85
getPathFunction · 0.85
Config.cppFile · 0.85
writeFunction · 0.85
prepareSaveScreenshotFunction · 0.85
createIndexFunction · 0.85
saveIndexFunction · 0.85
createIndexFunction · 0.85
tryLoadIndexFunction · 0.85
loadIndexFunction · 0.85

Calls 1

getDefaultPathNoWarningFunction · 0.85

Tested by

no test coverage detected