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

Method IsFinished

CrySystem/RefReadStreamProxy.cpp:59–62  ·  view source on GitHub ↗

returns true if the file read was completed (successfully or unsuccessfully) check IsError to check if the whole requested file (piece) was read

Source from the content-addressed store, hash-verified

57// returns true if the file read was completed (successfully or unsuccessfully)
58// check IsError to check if the whole requested file (piece) was read
59bool CRefReadStreamProxy::IsFinished()
60{
61 return m_bFinished;
62}
63
64// returns the number of bytes read so far (the whole buffer size if IsFinished())
65unsigned int CRefReadStreamProxy::GetBytesRead (bool bWait)

Callers 2

LoadMethod · 0.80
LoadDialogMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected