Skip to content

VehicleSpawnRequest

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

public sealed record VehicleSpawnRequest
public VehicleSpawnRequest();
public int EntryPoint { get; init; }
public string? FleetNumber { get; init; }
public string? HofName { get; init; }
public required string ModelPath { get; init; }

OMSI-content-relative path to a .bus or .ovh file.

public string? Registration { get; init; }
public string? Repaint { get; init; }