IWorld
Interface · Namespace OMX.ModAPI · Assembly OMX.ModAPI.Shared.dll
public interface IWorldThe world as the latest frame left it. Safe to read from any thread.
Implemented or extended by: IClientWorld, IServerWorld
Properties
Section titled “Properties”MapName
Section titled “MapName”string? MapName { get; }The loaded map’s folder name, or null with no map loaded.
WorldTime Time { get; }TimeScale
Section titled “TimeScale”float TimeScale { get; }Game seconds per real second.
Weather
Section titled “Weather”WorldWeather Weather { get; }WeatherChanged
Section titled “WeatherChanged”IEventSource<WorldWeather> WeatherChanged { get; }