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

Method getLoadTask

launcher/meta/VersionList.cpp:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35Task::Ptr VersionList::getLoadTask()
36{
37 auto loadTask = makeShared<SequentialTask>(tr("Load meta for %1", "This is for the task name that loads the meta index.").arg(m_uid));
38 loadTask->addTask(APPLICATION->metadataIndex()->loadTask(Net::Mode::Online));
39 loadTask->addTask(this->loadTask(Net::Mode::Online));
40 return loadTask;
41}
42
43bool VersionList::isLoaded()
44{

Callers 2

getVersionForLoaderMethod · 0.45
executeTaskMethod · 0.45

Calls 3

addTaskMethod · 0.80
loadTaskMethod · 0.80
metadataIndexMethod · 0.80

Tested by

no test coverage detected