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

Method get

launcher/meta/Index.cpp:79–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79VersionListPtr Index::get(const QString &uid)
80{
81 VersionListPtr out = m_uids.value(uid, nullptr);
82 if(!out)
83 {
84 out = std::make_shared<VersionList>(uid);
85 m_uids[uid] = out;
86 }
87 return out;
88}
89
90VersionPtr Index::get(const QString &uid, const QString &version)
91{

Callers 15

createLauncherMethod · 0.45
addMethod · 0.45
allMethod · 0.45
allSafeMethod · 0.45
firstMethod · 0.45
firstSafeMethod · 0.45
startMethod · 0.45
getParameterMethod · 0.45
isClientMethod · 0.45
getPreLaunchCommandMethod · 0.45
getWrapperCommandMethod · 0.45
getPostExitCommandMethod · 0.45

Calls 1

getVersionMethod · 0.45

Tested by 11

test_legacy_urlMethod · 0.36
test_legacy_nativeMethod · 0.36
test_onenineMethod · 0.36
test_onenine_nativeMethod · 0.36
test_SaveLoadMethod · 0.36