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

Method LoadParams

engine/Poseidon/UI/OptionsUIImpl.cpp:98–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98void DisplaySingleMission::LoadParams()
99{
100 ParamArchiveLoad ar(GetUserParams());
101 if (ar.Serialize("cadetMode", _cadetMode, 1, true) != LSOK)
102 {
103 Poseidon::Foundation::WarningMessage("Cannot load user paremeters.");
104 }
105}
106
107void DisplaySingleMission::SaveParams()
108{

Callers

nothing calls this directly

Calls 6

GetUserParamsFunction · 0.85
WarningMessageFunction · 0.85
stricmpFunction · 0.50
SerializeMethod · 0.45
GetLengthMethod · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected