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

Method SaveParams

engine/Poseidon/UI/Map/UIMapExtDisplay.cpp:86–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 _advanced = Poseidon::LoadAdvancedEditorModeFromUserParams(Poseidon::GetUserParams());
85}
86
87void DisplayArcadeMap::SaveParams()
88{
89 ParamArchiveSave ar(UserInfoVersion);
90 ar.Parse(Poseidon::GetUserParams());
91 if (ar.Serialize("advancedEditor", _advanced, 1) != LSOK)
92 {
93 }
94 if (ar.Save(Poseidon::GetUserParams()) != LSOK)
95 {
96 }
97}
98
99LSError DisplayArcadeMap::SerializeAll(ParamArchive& ar, bool merge)

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected