[This is preliminary documentation and is subject to change.]
The BlockDB type exposes the following methods.
Methods
| Member | Description | |
|---|---|---|
| AutoToggleIfNeeded()()()() | If EnabledState is set to Auto, calling this auto-enables / auto-disables
BlockDB depending on world's BuildSecurity.MinRank and BlockDBAutoEnableRank config key. | |
| Clear()()()() | Clears cache and deletes the .fbdb file. | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetReadLock()()()() | Acquires and returns a shared (read) lock for this BlockDB.
Disposing the object returned by this method releases the lock. | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| GetWriteLock()()()() | Acquires and returns an exclusive (write) lock for this BlockDB.
Disposing the object returned by this method releases the lock. | |
| LoadSettings(XElement) | ||
| Lookup(Int32) | ||
| Lookup(Int32, BoundingBox) | ||
| Lookup(Int32, Vector3I) | Returns list of all changes done to the map at the given coordinate, newest to oldest. | |
| Lookup(Int32, TimeSpan) | ||
| Lookup(Int32, BlockDBSearchType, Func<(Of <<'(BlockDBEntry, Boolean>)>>)) | Searches the database for BlockDBEntries, based on given criteria. | |
| Lookup(Int32, BoundingBox, TimeSpan) | ||
| Lookup(Int32, PlayerInfo, Boolean) | ||
| Lookup(Int32, array<PlayerInfo>[]()[][], Boolean) | ||
| Lookup(Int32, BoundingBox, PlayerInfo, Boolean) | ||
| Lookup(Int32, BoundingBox, array<PlayerInfo>[]()[][], Boolean) | ||
| Lookup(Int32, PlayerInfo, Boolean, TimeSpan) | ||
| Lookup(Int32, array<PlayerInfo>[]()[][], Boolean, TimeSpan) | ||
| Lookup(Int32, BoundingBox, PlayerInfo, Boolean, TimeSpan) | ||
| Lookup(Int32, BoundingBox, array<PlayerInfo>[]()[][], Boolean, TimeSpan) | ||
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| SaveSettings()()()() | ||
| SaveSettings(String) | ||
| ToString()()()() | (Inherited from Object.) | |
| Traverse(IBlockDBQueryProcessor) | Traverses the database, newest to oldest entries, processing each entry with the given IBlockDBQueryProcessor. |