MCPcopy Create free account
hub / github.com/OpenKneeboard/OpenKneeboard / DCSWorldInstance

Method DCSWorldInstance

src/games/DCSWorldInstance.cpp:57–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57DCSWorldInstance::DCSWorldInstance(
58 const nlohmann::json& j,
59 const std::shared_ptr<Game>& game)
60 : GameInstance(j, game) {
61 if (j.contains("SavedGamesPath")) {
62 mSavedGamesPath = j.at("SavedGamesPath").get<std::filesystem::path>();
63 } else {
64 mSavedGamesPath = InferSavedGamesPath(mPathPattern);
65 }
66}
67
68DCSWorldInstance::DCSWorldInstance(
69 const std::string& name,

Callers

nothing calls this directly

Calls 3

InferSavedGamesPathFunction · 0.85
containsMethod · 0.80
atMethod · 0.45

Tested by

no test coverage detected