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
EnableLiquidSimulation
Gets a value indicating whether runtime-managed liquid simulation is enabled.
public bool EnableLiquidSimulation { get; init; }
Property Value
FallbackGeneratorId
Gets the optional fallback generator identifier used when loading legacy worlds with no generator metadata.
public string FallbackGeneratorId { get; init; }
Property Value
MaxLiquidChunkSimulationsPerFrame
Gets the maximum number of liquid-dirty chunks simulated per frame.
public int MaxLiquidChunkSimulationsPerFrame { 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
WorldGeneratorRegistry
Gets the gameplay-provided world generator registry used to resolve metadata generator identifiers.
public WorldGeneratorRegistry WorldGeneratorRegistry { 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; }