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

Method get

launcher/meta/Index.cpp:82–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82VersionList::Ptr Index::get(const QString& uid)
83{
84 VersionList::Ptr out = m_uids.value(uid, nullptr);
85 if (!out) {
86 out = std::make_shared<VersionList>(uid);
87 m_uids[uid] = out;
88 m_lists.append(out);
89 }
90 return out;
91}
92
93Version::Ptr Index::get(const QString& uid, const QString& version)
94{

Callers 15

BaseInstanceMethod · 0.45
getPreLaunchCommandMethod · 0.45
getWrapperCommandMethod · 0.45
getPostExitCommandMethod · 0.45
isManagedPackMethod · 0.45
getManagedPackTypeMethod · 0.45
getManagedPackIDMethod · 0.45
getManagedPackNameMethod · 0.45
getConsoleMaxLinesMethod · 0.45

Calls 3

valueMethod · 0.80
appendMethod · 0.80
getVersionMethod · 0.45

Tested by 15

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