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

Method fail

source/game/StarQuests.cpp:298–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296}
297
298void Quest::fail() {
299 setState(QuestState::Failed);
300 m_showDialog = showFailDialog();
301 m_scriptComponent.invoke("questFail", false);
302 uninitScript();
303}
304
305void Quest::abandon() {
306 setState(QuestState::Failed);

Callers 7

handleIncomingPacketsMethod · 0.45
removeClientMethod · 0.45
handleIncomingPacketsMethod · 0.45
updateMethod · 0.45
handleWorldMessagesMethod · 0.45
updateMethod · 0.45
failQuestMethod · 0.45

Calls 1

invokeMethod · 0.45

Tested by

no test coverage detected