| 270 | } |
| 271 | |
| 272 | bool BinaryAsset::LoadChunk(int32 chunkIndex) const |
| 273 | { |
| 274 | ASSERT(Storage); |
| 275 | const auto chunk = _header.Chunks[chunkIndex]; |
| 276 | if (chunk != nullptr |
| 277 | && chunk->IsMissing() |
| 278 | && chunk->ExistsInFile()) |
| 279 | { |
| 280 | if (Storage->LoadAssetChunk(chunk)) |
| 281 | return true; |
| 282 | } |
| 283 | return false; |
| 284 | } |
| 285 | |
| 286 | bool BinaryAsset::LoadChunks(AssetChunksFlag chunks) const |
| 287 | { |
no test coverage detected