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

Method getComponent

launcher/minecraft/PackProfile.cpp:733–741  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

731}
732
733Component * PackProfile::getComponent(const QString &id)
734{
735 auto iter = d->componentIndex.find(id);
736 if (iter == d->componentIndex.end())
737 {
738 return nullptr;
739 }
740 return (*iter).get();
741}
742
743Component * PackProfile::getComponent(int index)
744{

Callers 10

shouldDisplayMethod · 0.80
packageCurrentMethod · 0.80
updateButtonsMethod · 0.80
currentMethod · 0.80
remoteLoadSucceededMethod · 0.80
executeTaskMethod · 0.80
executeTaskMethod · 0.80

Calls 4

findMethod · 0.45
endMethod · 0.45
getMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected