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

Method SaveParams

engine/Poseidon/UI/OptionsUIImpl.cpp:107–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void DisplaySingleMission::SaveParams()
108{
109 ParamArchiveSave ar(UserInfoVersion);
110 ar.Parse(GetUserParams());
111 if (ar.Serialize("cadetMode", _cadetMode, 1) != LSOK)
112 {
113 }
114 if (ar.Save(GetUserParams()) != LSOK)
115 {
116 }
117}
118
119#define X_findfirst _findfirst
120

Callers

nothing calls this directly

Calls 5

GetUserParamsFunction · 0.85
ParseMethod · 0.45
SerializeMethod · 0.45
SaveMethod · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected