Class WorldRuntimeOptions
Configures persistence and automatic save behavior for a world runtime.
public sealed class WorldRuntimeOptions
- Inheritance
-
WorldRuntimeOptions
- Inherited Members
Properties
ActiveRadiusInChunks
Gets the chunk radius kept active around the current attention center.
public int ActiveRadiusInChunks { get; init; }
Property Value
AutoSaveIdleDelay
Gets the idle time required after the last observed mutation before an automatic save may trigger.
public TimeSpan AutoSaveIdleDelay { get; init; }
Property Value
AutoSaveInterval
Gets the maximum time allowed between automatic save attempts while dirty save data exists.
public TimeSpan AutoSaveInterval { get; init; }
Property Value
EnableAutoSave
Gets a value indicating whether runtime-managed automatic saving is enabled.
public bool EnableAutoSave { get; init; }
Property Value
MinimumAutoSaveSpacing
Gets the minimum spacing enforced between consecutive automatic saves.
public TimeSpan MinimumAutoSaveSpacing { get; init; }
Property Value
SaveOnShutdown
Gets a value indicating whether Shutdown() should trigger a final save.
public bool SaveOnShutdown { get; init; }
Property Value
WorldPath
Gets the root directory path of the world on disk. Leave empty to disable persistence.
public string WorldPath { get; init; }
Property Value
WorldStorage
Gets the storage backend used for metadata and chunk payloads when persistence is enabled.
public WorldStorage WorldStorage { get; init; }