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

Method dismissRecruit

source/frontend/StarAiInterface.cpp:364–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362}
363
364void AiInterface::dismissRecruit() {
365 if (!m_selectedRecruit)
366 return;
367
368 Uuid podUuid = m_selectedRecruit->podUuid();
369 m_client->mainPlayer()->companions()->dismissCompanion("crew", podUuid);
370
371 m_crewStack->showPage(1);
372}
373
374void AiInterface::goBack() {
375 if (m_currentPage == AiPages::MissionPage)

Callers

nothing calls this directly

Calls 5

podUuidMethod · 0.80
dismissCompanionMethod · 0.80
companionsMethod · 0.80
mainPlayerMethod · 0.80
showPageMethod · 0.80

Tested by

no test coverage detected