Skip to content

IWorld

Interface · Namespace OMX.ModAPI · Assembly OMX.ModAPI.Shared.dll

public interface IWorld

The world as the latest frame left it. Safe to read from any thread.

Implemented or extended by: IClientWorld, IServerWorld

string? MapName { get; }

The loaded map’s folder name, or null with no map loaded.

WorldTime Time { get; }
float TimeScale { get; }

Game seconds per real second.

WorldWeather Weather { get; }
IEventSource<WorldWeather> WeatherChanged { get; }