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

Method scheduleSave

launcher/minecraft/PackProfile.cpp:262–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262void PackProfile::scheduleSave()
263{
264 if(!d->loaded)
265 {
266 qDebug() << "Component list should never save if it didn't successfully load, instance:" << d->m_instance->name();
267 return;
268 }
269 if(!d->dirty)
270 {
271 d->dirty = true;
272 qDebug() << "Component list save is scheduled for" << d->m_instance->name();
273 }
274 d->m_saveTimer.start();
275}
276
277RuntimeContext PackProfile::runtimeContext()
278{

Callers

nothing calls this directly

Calls 2

nameMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected