IClientRuntime
Interface · Namespace OMX.ModAPI · Assembly OMX.ModAPI.Shared.dll
public interface IClientRuntime : IResourceRuntimeThe client half of a resource: the local player’s own things, and asking the authority for the rest.
Extends: IResourceRuntime
Properties
Section titled “Properties”IClientAudio Audio { get; }Sound behaviours this resource changes from OMSI’s.
DriverView
Section titled “DriverView”IDriverView DriverView { get; }Events
Section titled “Events”IClientEvents Events { get; }IClientHud Hud { get; }IClientInput Input { get; }LocalPlayer
Section titled “LocalPlayer”IPlayer? LocalPlayer { get; }The local player, once the authority has accepted them (from the start in single player).
MapLoaded
Section titled “MapLoaded”IEventSource<string> MapLoaded { get; }The map folder name, once a map has finished loading.
MapUnloaded
Section titled “MapUnloaded”IEventSource<string> MapUnloaded { get; }Messages
Section titled “Messages”IClientMessages Messages { get; }SessionChanged
Section titled “SessionChanged”IEventSource<SessionKind> SessionChanged { get; }Vehicles
Section titled “Vehicles”IClientVehicles Vehicles { get; }IClientWorld World { get; }Read-only: time and weather belong to the authority.
