MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / current

Method current

launcher/ui/pages/instance/VersionPage.cpp:649–657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647}
648
649Component * VersionPage::current()
650{
651 auto row = currentRow();
652 if(row < 0)
653 {
654 return nullptr;
655 }
656 return m_profile->getComponent(row);
657}
658
659int VersionPage::currentRow()
660{

Callers

nothing calls this directly

Calls 1

getComponentMethod · 0.80

Tested by

no test coverage detected