MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / toJson

Method toJson

source/game/StarAiTypes.cpp:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13Json AiState::toJson() const {
14 return JsonObject{{"availableMissions", jsonFromStringList(availableMissions.values())},
15 {"completedMissions", jsonFromStringList(completedMissions.values())}};
16}
17
18}

Callers

nothing calls this directly

Calls 2

jsonFromStringListFunction · 0.85
valuesMethod · 0.45

Tested by

no test coverage detected