MCPcopy Create free account
hub / github.com/StrongPC123/Far-Cry-1-Source-Full / OnFinishRead

Method OnFinishRead

CrySystem/RefReadStreamProxy.cpp:414–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412
413
414void CRefReadStreamProxy::OnFinishRead(unsigned nError)
415{
416 // [marco] commented out, according to sergiy this is harmless
417 //assert (!m_bFinished && !m_bError);
418 if (!nError)
419 m_bFinished = true;
420 else
421 m_bError = true;
422
423 m_nIOError = nError;
424 m_pStream->OnIOExecuted(this);
425}
426
427// this returns true after the main IO job has been executed (either in worker or in main thread)
428bool CRefReadStreamProxy::IsIOExecuted()

Callers 1

~CRefStreamEngineMethod · 0.80

Calls 1

OnIOExecutedMethod · 0.80

Tested by

no test coverage detected