MCPcopy Create free account
hub / github.com/ddnet/ddnet / Refresh

Method Refresh

src/engine/client/serverbrowser_http.cpp:159–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159void CChooseMaster::Refresh()
160{
161 if(m_pJob == nullptr || m_pJob->State() == IJob::STATE_DONE)
162 {
163 m_pJob = std::make_shared<CJob>(this, m_pData);
164 m_pEngine->AddJob(m_pJob);
165 }
166}
167
168bool CChooseMaster::CJob::Abort()
169{

Callers 1

UpdateMethod · 0.45

Calls 2

AddJobMethod · 0.80
StateMethod · 0.45

Tested by

no test coverage detected