MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / SaveDifficulties

Method SaveDifficulties

engine/Poseidon/Core/Config/ConfigFunctions.cpp:88–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86
87void Config::SaveDifficulties()
88{
89 UserConfig_SaveDifficulties(USER_CONFIG);
90
91 ParamFile userCfg;
92 userCfg.Parse(::GetUserParams());
93 userCfg.Add("showRadio", GChatList.Enabled());
94 userCfg.Save(::GetUserParams());
95}
96} // namespace Poseidon

Callers

nothing calls this directly

Calls 6

GetUserParamsFunction · 0.85
EnabledMethod · 0.80
ParseMethod · 0.45
AddMethod · 0.45
SaveMethod · 0.45

Tested by

no test coverage detected