MCPcopy Create free account
hub / github.com/MultiMC/Launcher / getComponentVersion

Method getComponentVersion

launcher/minecraft/PackProfile.cpp:1207–1215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1205}
1206
1207QString PackProfile::getComponentVersion(const QString& uid) const
1208{
1209 const auto iter = d->componentIndex.find(uid);
1210 if (iter != d->componentIndex.end())
1211 {
1212 return (*iter)->getVersion();
1213 }
1214 return QString();
1215}
1216
1217void PackProfile::disableInteraction(bool disable)
1218{

Calls 4

QStringClass · 0.85
findMethod · 0.45
endMethod · 0.45
getVersionMethod · 0.45

Tested by

no test coverage detected