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

Method copyManagedPack

launcher/BaseInstance.cpp:157–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157void BaseInstance::copyManagedPack(BaseInstance& other)
158{
159 m_settings->set("ManagedPack", other.isManagedPack());
160 m_settings->set("ManagedPackType", other.getManagedPackType());
161 m_settings->set("ManagedPackID", other.getManagedPackID());
162 m_settings->set("ManagedPackName", other.getManagedPackName());
163 m_settings->set("ManagedPackVersionID", other.getManagedPackVersionID());
164 m_settings->set("ManagedPackVersionName", other.getManagedPackVersionName());
165}
166
167int BaseInstance::getConsoleMaxLines() const
168{

Callers 2

createInstanceMethod · 0.80
createInstanceMethod · 0.80

Calls 7

isManagedPackMethod · 0.80
getManagedPackTypeMethod · 0.80
getManagedPackNameMethod · 0.80
setMethod · 0.45
getManagedPackIDMethod · 0.45

Tested by

no test coverage detected