MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / RequestPresentAndDone

Method RequestPresentAndDone

engine/Poseidon/IO/FileServer.cpp:224–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224int FileServerST::RequestPresentAndDone(const FileRequest& req) const
225{
226 for (int i = 0; i < _done.Size(); i++)
227 {
228 if (_done[i].Contains(req))
229 {
230 return i;
231 }
232 }
233 return -1;
234}
235int FileServerST::RequestPresentAndNotDone(const FileRequest& req) const
236{
237 for (int i = 0; i < _queue.Size(); i++)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.45
ContainsMethod · 0.45

Tested by

no test coverage detected