[This is preliminary documentation and is subject to change.]

Database of block changes. Each BlockDB object is associated with a world. Provides controls for storage/retention, and methods to look up data.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.1 (0.6.3.1)

Syntax

   
 C# 
public sealed class BlockDB

Members

            
 All Members  Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
AutoToggleIfNeeded()()()()
Clear()()()()
Clears cache and deletes the .fbdb file.
EnabledState
Sets this BlockDB's enabled state to Yes (always on), No (aways off), or Auto (on or off depending on BlockDBAutoEnableRank config key and World's build permissions).
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
FileName
Full path to the file where BlockDB data is stored.
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()()()()
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
GetWriteLock()()()()
HasLimit
HasTimeLimit
IsEnabled
Checks whether this BlockDB is enabled (either automatically or manually). Set EnabledState to enable/disable.
IsEnabledGlobally
Whether BlockDB was enabled at startup. Changing this setting currently requires a server restart.
IsPreloaded
Limit
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)
ShouldBeAutoEnabled
TimeLimit
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Traverse(IBlockDBQueryProcessor)
Traverses the database, newest to oldest entries, processing each entry with the given IBlockDBQueryProcessor.
World
World associated with this BlockDB.
XmlRootName

Inheritance Hierarchy

System..::..Object
  fCraft..::..BlockDB

See Also