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

Function mcVersions

launcher/ui/dialogs/ModUpdateDialog.cpp:26–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24static ModPlatform::ProviderCapabilities ProviderCaps;
25
26static std::list<Version> mcVersions(BaseInstance* inst)
27{
28 return { static_cast<MinecraftInstance*>(inst)->getPackProfile()->getComponent("net.minecraft")->getVersion() };
29}
30
31static ModAPI::ModLoaderTypes mcLoaders(BaseInstance* inst)
32{

Callers 1

checkCandidatesMethod · 0.85

Calls 3

getComponentMethod · 0.80
getPackProfileMethod · 0.80
getVersionMethod · 0.45

Tested by

no test coverage detected