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

Method setManagedPack

launcher/BaseInstance.cpp:147–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147void BaseInstance::setManagedPack(const QString& type, const QString& id, const QString& name, const QString& versionId, const QString& version)
148{
149 m_settings->set("ManagedPack", true);
150 m_settings->set("ManagedPackType", type);
151 m_settings->set("ManagedPackID", id);
152 m_settings->set("ManagedPackName", name);
153 m_settings->set("ManagedPackVersionID", versionId);
154 m_settings->set("ManagedPackVersionName", version);
155}
156
157void BaseInstance::copyManagedPack(BaseInstance& other)
158{

Callers 4

installMethod · 0.80
createInstanceMethod · 0.80
installMethod · 0.80
createInstanceMethod · 0.80

Calls 1

setMethod · 0.45

Tested by

no test coverage detected