MCPcopy Create free account
hub / github.com/EasyRPG/Player / GetGlobalConfigFileOutput

Method GetGlobalConfigFileOutput

src/game_config.cpp:273–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273Filesystem_Stream::OutputStream Game_Config::GetGlobalConfigFileOutput() {
274 auto fs = GetGlobalConfigFilesystem();
275
276 if (fs) {
277 return fs.OpenOutputStream(config_name, std::ios_base::out);
278 }
279
280 return Filesystem_Stream::OutputStream();
281}
282
283Filesystem_Stream::OutputStream& Game_Config::GetLogFileOutput() {
284 // Invalid stream that consumes the output when logging is disabled or an error occurs

Callers

nothing calls this directly

Calls 2

OpenOutputStreamMethod · 0.80
OutputStreamClass · 0.70

Tested by

no test coverage detected