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

Function GetThemeFileName

src/openrct2-ui/interface/Theme.cpp:684–689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682 }
683
684 std::string GetThemeFileName(const std::string& name)
685 {
686 auto themeDirectory = GetThemePath();
687 auto themePath = Path::Combine(themeDirectory, name + u8".json");
688 return themePath;
689 }
690
691 bool EnsureThemeDirectoryExists()
692 {

Callers 3

GetAvailableThemesFunction · 0.85
ThemeRenameFunction · 0.85
ThemeDuplicateFunction · 0.85

Calls 2

GetThemePathFunction · 0.85
CombineFunction · 0.50

Tested by

no test coverage detected