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

Method mcVersionStr

launcher/ui/widgets/ModFilterWidget.h:57–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 ModFilterWidget(Version def, QWidget* parent = nullptr);
56
57 inline auto mcVersionStr() const -> QString { return m_instance ? m_instance->getPackProfile()->getComponentVersion("net.minecraft") : ""; }
58 inline auto mcVersion() const -> Version { return { mcVersionStr() }; }
59
60private slots:

Callers

nothing calls this directly

Calls 2

getComponentVersionMethod · 0.80
getPackProfileMethod · 0.80

Tested by

no test coverage detected