Class CarInfo
Contains information about a vehicle.
Assembly: Aydsko.iRacingData.dll
Syntax
Properties
AiEnabled
Indicates if the vehicle is available for AI racing.
Declaration
[JsonPropertyName("ai_enabled")]
public bool AiEnabled { get; set; }
Property Value
AllowNumberColors
Indicates that the vehicle allows custom colors for the car number in the iRacing Paint Shop.
Declaration
[JsonPropertyName("allow_number_colors")]
public bool AllowNumberColors { get; set; }
Property Value
AllowNumberFont
Indicates that the vehicle allows a custom font for the car number in the iRacing Paint Shop.
Declaration
[JsonPropertyName("allow_number_font")]
public bool AllowNumberFont { get; set; }
Property Value
Indicates that the vehicle allows a main sponsor in the iRacing Paint Shop.
Declaration
[JsonPropertyName("allow_sponsor1")]
public bool AllowSponsor1 { get; set; }
Property Value
Indicates that the vehicle allows a secondary sponsor in the iRacing Paint Shop.
Declaration
[JsonPropertyName("allow_sponsor2")]
public bool AllowSponsor2 { get; set; }
Property Value
AllowWheelColor
Indicates that the vehicle allows a custom color for the wheels in the iRacing Paint Shop.
Declaration
[JsonPropertyName("allow_wheel_color")]
public bool AllowWheelColor { get; set; }
Property Value
AwardExempt
Declaration
[JsonPropertyName("award_exempt")]
public bool AwardExempt { get; set; }
Property Value
CarDirectoryPath
Declaration
[JsonPropertyName("car_dirpath")]
public string CarDirectoryPath { get; set; }
Property Value
CarId
Unique identifier for the vehicle.
Declaration
[JsonPropertyName("car_id")]
public int CarId { get; set; }
Property Value
CarMake
Declaration
[JsonPropertyName("car_make")]
public string CarMake { get; set; }
Property Value
CarModel
Declaration
[JsonPropertyName("car_model")]
public string CarModel { get; set; }
Property Value
CarName
Full display name for the vehicle.
Declaration
[JsonPropertyName("car_name")]
public string CarName { get; set; }
Property Value
CarNameAbbreviated
Abbreviated name for the vehicle.
Declaration
[JsonPropertyName("car_name_abbreviated")]
public string CarNameAbbreviated { get; set; }
Property Value
CarTypes
Declaration
[JsonPropertyName("car_types")]
public CarTypes[] CarTypes { get; set; }
Property Value
CarWeight
Declaration
[JsonPropertyName("car_weight")]
public int CarWeight { get; set; }
Property Value
Categories
Declaration
[JsonPropertyName("categories")]
public string[] Categories { get; set; }
Property Value
Created
Declaration
[JsonPropertyName("created")]
public DateTimeOffset Created { get; set; }
Property Value
FirstSale
Declaration
[JsonPropertyName("first_sale")]
public DateTimeOffset FirstSale { get; set; }
Property Value
ForumUrl
Declaration
[JsonPropertyName("forum_url")]
public string ForumUrl { get; set; }
Property Value
FreeWithSubscription
Declaration
[JsonPropertyName("free_with_subscription")]
public bool FreeWithSubscription { get; set; }
Property Value
HasHeadlights
Declaration
[JsonPropertyName("has_headlights")]
public bool HasHeadlights { get; set; }
Property Value
HasMultipleDryTireTypes
Declaration
[JsonPropertyName("has_multiple_dry_tire_types")]
public bool HasMultipleDryTireTypes { get; set; }
Property Value
HasRainCapableTireTypes
Declaration
[JsonPropertyName("has_rain_capable_tire_types")]
public bool HasRainCapableTireTypes { get; set; }
Property Value
Hp
Declaration
[JsonPropertyName("hp")]
public int Hp { get; set; }
Property Value
IsPsPurchasable
Declaration
[JsonPropertyName("is_ps_purchasable")]
public bool IsPsPurchasable { get; set; }
Property Value
MaxPowerAdjustPct
Declaration
[JsonPropertyName("max_power_adjust_pct")]
public int MaxPowerAdjustPct { get; set; }
Property Value
MaxWeightPenaltyKg
Declaration
[JsonPropertyName("max_weight_penalty_kg")]
public int MaxWeightPenaltyKg { get; set; }
Property Value
MinPowerAdjustPct
Declaration
[JsonPropertyName("min_power_adjust_pct")]
public int MinPowerAdjustPct { get; set; }
Property Value
PackageId
Declaration
[JsonPropertyName("package_id")]
public int PackageId { get; set; }
Property Value
PaintRules
Declaration
[JsonPropertyName("paint_rules")]
public PaintRules PaintRules { get; set; }
Property Value
Patterns
Declaration
[JsonPropertyName("patterns")]
public int Patterns { get; set; }
Property Value
Price
Declaration
[JsonPropertyName("price")]
public float Price { get; set; }
Property Value
PriceDisplay
Declaration
[JsonPropertyName("price_display")]
public string PriceDisplay { get; set; }
Property Value
RainEnabled
Declaration
[JsonPropertyName("rain_enabled")]
public bool RainEnabled { get; set; }
Property Value
Retired
Declaration
[JsonPropertyName("retired")]
public bool Retired { get; set; }
Property Value
SearchFilters
Declaration
[JsonPropertyName("search_filters")]
public string SearchFilters { get; set; }
Property Value
SiteUrl
Declaration
[JsonPropertyName("site_url")]
[JsonConverter(typeof(UriConverter))]
public Uri? SiteUrl { get; set; }
Property Value
Sku
Declaration
[JsonPropertyName("sku")]
public int Sku { get; set; }
Property Value