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

Method resolve

launcher/minecraft/PackProfile.cpp:348–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346}
347
348void PackProfile::resolve(Net::Mode netmode)
349{
350 auto updateTask = new ComponentUpdateTask(ComponentUpdateTask::Mode::Resolution, netmode, this);
351 d->m_updateTask.reset(updateTask);
352 connect(updateTask, &ComponentUpdateTask::succeeded, this, &PackProfile::updateSucceeded);
353 connect(updateTask, &ComponentUpdateTask::failed, this, &PackProfile::updateFailed);
354 connect(updateTask, &ComponentUpdateTask::aborted, this, [this] { updateFailed(tr("Aborted")); });
355 d->m_updateTask->start();
356}
357
358void PackProfile::updateSucceeded()
359{

Callers 4

startMethod · 0.45
fromTraditionalAppMethod · 0.45
doneMethod · 0.45

Calls 2

resetMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected