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

Method disableInteraction

launcher/minecraft/PackProfile.cpp:1001–1010  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

999}
1000
1001void PackProfile::disableInteraction(bool disable)
1002{
1003 if(d->interactionDisabled != disable) {
1004 d->interactionDisabled = disable;
1005 auto size = d->components.size();
1006 if(size) {
1007 emit dataChanged(index(0), index(size - 1));
1008 }
1009 }
1010}
1011
1012ModAPI::ModLoaderTypes PackProfile::getModLoaders()
1013{

Callers 4

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

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected