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

Method IsFromBank

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

Source from the content-addressed store, hash-verified

1372 {
1373 continue;
1374 }
1375 LOG_DEBUG(Core, "Unloading bank {}", (const char*)bank.GetPrefix());
1376 bank.Unload();
1377 return true;
1378 }
1379 // if no unlocked bank is available for unloading, try locked banks
1380 for (int i = 0; i < GFileBanks.Size(); i++)
1381 {
1382 QFBank& bank = GFileBanks[i];
1383 if (!bank.CanBeUnloaded())
1384 {
1385 continue;

Callers 1

FlushBankMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected