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

Method load

apps/tools/Studio/StudioConfig.cpp:25–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25void StudioConfig::load()
26{
27 ParamFile cfg;
28 if (cfg.Parse(configPath().c_str()) != LSOK)
29 return;
30
31 for (auto& f : intFields)
32 if (auto* e = cfg.FindEntry(f.name))
33 this->*f.ptr = (int)*e;
34}
35
36void StudioConfig::save() const
37{

Callers 13

do_importFunction · 0.45
executeMethod · 0.45
executeMethod · 0.45
mainFunction · 0.45
test_task_pool.cppFile · 0.45

Calls 2

ParseMethod · 0.45
FindEntryMethod · 0.45

Tested by

no test coverage detected