MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / ScreenshotGetDirectory

Function ScreenshotGetDirectory

src/openrct2/interface/Screenshot.cpp:119–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119static std::string ScreenshotGetDirectory()
120{
121 auto& env = GetContext()->GetPlatformEnvironment();
122 return env.GetDirectoryPath(DirBase::user, DirId::screenshots);
123}
124
125static std::pair<RealWorldDate, RealWorldTime> ScreenshotGetDateTime()
126{

Callers 2

ScreenshotGetNextPathFunction · 0.85

Calls 2

GetContextFunction · 0.85
GetDirectoryPathMethod · 0.80

Tested by

no test coverage detected