Class BeamNgVehicleDescriptor
- Namespace
- LibreRally.Vehicle.Content
- Assembly
- LibreRally.dll
Describes a discovered BeamNG vehicle package.
public sealed record BeamNgVehicleDescriptor : IEquatable<BeamNgVehicleDescriptor>
- Inheritance
-
BeamNgVehicleDescriptor
- Implements
- Inherited Members
Constructors
BeamNgVehicleDescriptor(string, string, BeamNgVehicleSourceKind, string)
Describes a discovered BeamNG vehicle package.
public BeamNgVehicleDescriptor(string VehicleId, string SourcePath, BeamNgVehicleSourceKind SourceKind, string SourceLabel)
Parameters
VehicleIdstringResolved BeamNG vehicle identifier.
SourcePathstringDirectory or archive path that contains the vehicle.
SourceKindBeamNgVehicleSourceKindOrigin of the discovered package.
SourceLabelstringShort human-readable source label.
Properties
DisplayName
Gets a user-facing display name for the discovered vehicle package.
public string DisplayName { get; }
Property Value
SourceKind
Origin of the discovered package.
public BeamNgVehicleSourceKind SourceKind { get; init; }
Property Value
SourceLabel
Short human-readable source label.
public string SourceLabel { get; init; }
Property Value
SourcePath
Directory or archive path that contains the vehicle.
public string SourcePath { get; init; }
Property Value
VehicleId
Resolved BeamNG vehicle identifier.
public string VehicleId { get; init; }