[This is preliminary documentation and is subject to change.]
Traverses the database, newest to oldest entries, processing each entry with the given IBlockDBQueryProcessor.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)
Syntax
| C# |
public void Traverse( IBlockDBQueryProcessor processor )
Parameters
- processor
- IBlockDBQueryProcessor
Processor to use for each BlockDBEntry.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | processor is null. |
| System..::..InvalidOperationException | BlockDB is disabled. |
| System.IO..::..EndOfStreamException | The end of FBDB file is reached prematurely (corrupted file, or outside interference). |
| System..::..DataMisalignedException | FBDB file is not aligned to 20 bytes (likely corrupted). |
| System.IO..::..IOException | An I/O error occurrs while trying to read FBDB file from disk. |