MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / setManagedPack

Method setManagedPack

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

Source from the content-addressed store, hash-verified

153}
154
155void BaseInstance::setManagedPack(const QString& type,
156 const QString& id,
157 const QString& name,
158 const QString& versionId,
159 const QString& version)
160{
161 m_settings->set("ManagedPack", true);
162 m_settings->set("ManagedPackType", type);
163 m_settings->set("ManagedPackID", id);
164 m_settings->set("ManagedPackName", name);
165 m_settings->set("ManagedPackVersionID", versionId);
166 m_settings->set("ManagedPackVersionName", version);
167}
168
169void BaseInstance::copyManagedPack(BaseInstance& other)
170{

Callers 3

installMethod · 0.80
createInstanceMethod · 0.80
createInstanceMethod · 0.80

Calls 1

setMethod · 0.45

Tested by

no test coverage detected