MCPcopy Create free account
hub / github.com/MultiMC/Launcher / current

Method current

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

Source from the content-addressed store, hash-verified

586}
587
588Component * VersionPage::current()
589{
590 auto row = currentRow();
591 if(row < 0)
592 {
593 return nullptr;
594 }
595 return m_profile->getComponent(row);
596}
597
598int VersionPage::currentRow()
599{

Callers

nothing calls this directly

Calls 1

getComponentMethod · 0.80

Tested by

no test coverage detected