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

Method interestingObjects

source/game/StarQuestManager.cpp:355–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355StringSet QuestManager::interestingObjects() {
356 StringSet result;
357 m_quests.values().exec([&result](QuestPtr const& quest) {
358 if (auto questObjects = quest->receiveMessage("interestingObjects", true, JsonArray()))
359 result.addAll(jsonToStringSet(*questObjects));
360 });
361 return result;
362}
363
364Maybe<Json> QuestManager::receiveMessage(String const& message, bool localMessage, JsonArray const& args) {
365 starAssert(m_world);

Callers 1

updateMethod · 0.80

Calls 5

jsonToStringSetFunction · 0.85
execMethod · 0.45
valuesMethod · 0.45
receiveMessageMethod · 0.45
addAllMethod · 0.45

Tested by

no test coverage detected