Skip to content

IServerWorld

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

public interface IServerWorld : IWorld

The world as the authority changes it. Changes are applied on the next frame and reach every client. In multiplayer only the dedicated server’s resources hold this.

Extends: IWorld

void SetTime(WorldTime time);

Parameters

void SetTimeScale(float scale);

Game seconds per real second, 0..100.

Parameters

  • scale float
void SetWeather(WorldWeather weather);

Precipitation, ground wetness and snow cover are 0..1.

Parameters