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

Method disableInteraction

launcher/minecraft/PackProfile.cpp:1217–1226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1215}
1216
1217void PackProfile::disableInteraction(bool disable)
1218{
1219 if(d->interactionDisabled != disable) {
1220 d->interactionDisabled = disable;
1221 auto size = d->components.size();
1222 if(size) {
1223 emit dataChanged(index(0), index(size - 1));
1224 }
1225 }
1226}

Callers 5

loaderModListMethod · 0.45
coreModListMethod · 0.45
resourcePackListMethod · 0.45
texturePackListMethod · 0.45
shaderPackListMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected