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

Method offer

source/game/StarQuestManager.cpp:125–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125void QuestManager::offer(QuestPtr const& quest) {
126 m_quests[quest->questId()] = quest;
127 quest->init(m_player, m_world, m_client);
128 quest->offer();
129}
130
131StringMap<QuestPtr> QuestManager::quests() const {
132 return m_quests;

Callers

nothing calls this directly

Calls 2

questIdMethod · 0.80
initMethod · 0.45

Tested by

no test coverage detected