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

Method error

engine/Poseidon/IO/Streams/QBStream.cpp:644–657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

642 else
643 {
644 if (_openBeforeOpenCallback)
645 {
646 bool ok = _openBeforeOpenCallback(this, _openContext);
647 if (!ok)
648 {
649 _files.Clear();
650 CloseHandle(_handle), _handle = nullptr;
651 _error = true;
652 return false;
653 }
654 }
655 }
656
657 int headerSize = SetFilePointer(_handle, 0, nullptr, FILE_CURRENT);
658 BEG_SERIALIZE
659 // filemapping uses offset from end of header; direct access uses file offset
660 if (_files.NItems() > 0)

Callers 15

OpenArchiveFunction · 0.45
playSoundEntryMethod · 0.45
extractPboFileMethod · 0.45
extractVirtualFileMethod · 0.45
startUsedByScanMethod · 0.45
updateCachedInfoMethod · 0.45
renderPreviewPanelMethod · 0.45
ExtractPboEntryFunction · 0.45
RunScanFunction · 0.45
ReadPboEntryFunction · 0.45
DebinarizePboConfigFunction · 0.45
CollectPboItemsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected