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

Method addNetAction

launcher/net/NetJob.cpp:39–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37#include "NetJob.h"
38
39auto NetJob::addNetAction(NetAction::Ptr action) -> bool
40{
41 action->m_index_within_job = m_queue.size();
42 m_queue.append(action);
43
44 action->setNetwork(m_network);
45
46 return true;
47}
48
49void NetJob::startNext()
50{

Callers 15

ModDownloadTaskMethod · 0.80
executeTaskMethod · 0.80
executeTaskMethod · 0.80
installConfigsMethod · 0.80
downloadModsMethod · 0.80
searchModsMethod · 0.80
getVersionsMethod · 0.80
getProjectMethod · 0.80
fetchMethod · 0.80
fetchPrivateMethod · 0.80
downloadPackMethod · 0.80
executeTaskMethod · 0.80

Calls 3

appendMethod · 0.80
setNetworkMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected