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

Method loadTask

launcher/meta/BaseEntity.cpp:84–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84Task::Ptr BaseEntity::loadTask(Net::Mode mode)
85{
86 if (m_task && m_task->isRunning()) {
87 return m_task;
88 }
89 m_task.reset(new BaseEntityLoadTask(this, mode));
90 return m_task;
91}
92
93bool BaseEntity::isLoaded() const
94{

Callers 3

getLoadTaskMethod · 0.80
getLoadTaskMethod · 0.80
loadVersionMethod · 0.80

Calls 2

isRunningMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected