IServerWorld
Interface · Namespace OMX.ModAPI · Assembly OMX.ModAPI.Shared.dll
public interface IServerWorld : IWorldThe 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
Methods
Section titled “Methods”SetTime
Section titled “SetTime”void SetTime(WorldTime time);Parameters
timeWorldTime
SetTimeScale
Section titled “SetTimeScale”void SetTimeScale(float scale);Game seconds per real second, 0..100.
Parameters
scalefloat
SetWeather
Section titled “SetWeather”void SetWeather(WorldWeather weather);Precipitation, ground wetness and snow cover are 0..1.
Parameters
weatherWorldWeather
