MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / mcVersions

Function mcVersions

launcher/ui/dialogs/ModUpdateDialog.cpp:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28#include <optional>
29
30static std::list<Version> mcVersions(BaseInstance* inst)
31{
32 return { static_cast<MinecraftInstance*>(inst)->getPackProfile()->getComponent("net.minecraft")->getVersion() };
33}
34
35static QList<ModPlatform::ModLoaderType> mcLoadersList(BaseInstance* inst)
36{

Callers 2

checkCandidatesMethod · 0.85
compareMethod · 0.85

Calls 3

getComponentMethod · 0.80
getPackProfileMethod · 0.80
getVersionMethod · 0.45

Tested by

no test coverage detected