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

Method startMission

source/frontend/StarAiInterface.cpp:339–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337}
338
339void AiInterface::startMission() {
340 if (m_selectedMission) {
341 auto const& mission = m_aiDatabase->mission(*m_selectedMission);
342 m_client->warpPlayer(
343 WarpToWorld{InstanceWorldId(mission.missionUniqueWorld, m_client->teamUuid()), {}},
344 true,
345 mission.warpAnimation.value("default"),
346 mission.warpDeploy.value(false));
347 dismiss();
348 }
349}
350
351void AiInterface::populateCrew() {
352 m_crewListWidget->clear();

Callers

nothing calls this directly

Calls 5

InstanceWorldIdClass · 0.85
missionMethod · 0.80
teamUuidMethod · 0.80
warpPlayerMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected