Aydsko iRacing Data API
Show / Hide Table of Contents

Class CarInfo

Contains information about a vehicle.

Inheritance
object
CarInfo
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Aydsko.iRacingData.Cars
Assembly: Aydsko.iRacingData.dll
Syntax
public class CarInfo

Properties

AiEnabled

Indicates if the vehicle is available for AI racing.

Declaration
[JsonPropertyName("ai_enabled")]
public bool AiEnabled { get; set; }
Property Value
Type Description
bool

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
Type Description
bool

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
Type Description
bool

AllowSponsor1

Indicates that the vehicle allows a main sponsor in the iRacing Paint Shop.

Declaration
[JsonPropertyName("allow_sponsor1")]
public bool AllowSponsor1 { get; set; }
Property Value
Type Description
bool

AllowSponsor2

Indicates that the vehicle allows a secondary sponsor in the iRacing Paint Shop.

Declaration
[JsonPropertyName("allow_sponsor2")]
public bool AllowSponsor2 { get; set; }
Property Value
Type Description
bool

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
Type Description
bool

AwardExempt

Declaration
[JsonPropertyName("award_exempt")]
public bool AwardExempt { get; set; }
Property Value
Type Description
bool

CarDirectoryPath

Declaration
[JsonPropertyName("car_dirpath")]
public string CarDirectoryPath { get; set; }
Property Value
Type Description
string

CarId

Unique identifier for the vehicle.

Declaration
[JsonPropertyName("car_id")]
public int CarId { get; set; }
Property Value
Type Description
int

CarMake

Declaration
[JsonPropertyName("car_make")]
public string CarMake { get; set; }
Property Value
Type Description
string

CarModel

Declaration
[JsonPropertyName("car_model")]
public string CarModel { get; set; }
Property Value
Type Description
string

CarName

Full display name for the vehicle.

Declaration
[JsonPropertyName("car_name")]
public string CarName { get; set; }
Property Value
Type Description
string

CarNameAbbreviated

Abbreviated name for the vehicle.

Declaration
[JsonPropertyName("car_name_abbreviated")]
public string CarNameAbbreviated { get; set; }
Property Value
Type Description
string

CarTypes

Declaration
[JsonPropertyName("car_types")]
public CarTypes[] CarTypes { get; set; }
Property Value
Type Description
CarTypes[]

CarWeight

Declaration
[JsonPropertyName("car_weight")]
public int CarWeight { get; set; }
Property Value
Type Description
int

Categories

Declaration
[JsonPropertyName("categories")]
public string[] Categories { get; set; }
Property Value
Type Description
string[]

Created

Declaration
[JsonPropertyName("created")]
public DateTimeOffset Created { get; set; }
Property Value
Type Description
DateTimeOffset

FirstSale

Declaration
[JsonPropertyName("first_sale")]
public DateTimeOffset FirstSale { get; set; }
Property Value
Type Description
DateTimeOffset

ForumUrl

Declaration
[JsonPropertyName("forum_url")]
public string ForumUrl { get; set; }
Property Value
Type Description
string

FreeWithSubscription

Declaration
[JsonPropertyName("free_with_subscription")]
public bool FreeWithSubscription { get; set; }
Property Value
Type Description
bool

HasHeadlights

Declaration
[JsonPropertyName("has_headlights")]
public bool HasHeadlights { get; set; }
Property Value
Type Description
bool

HasMultipleDryTireTypes

Declaration
[JsonPropertyName("has_multiple_dry_tire_types")]
public bool HasMultipleDryTireTypes { get; set; }
Property Value
Type Description
bool

HasRainCapableTireTypes

Declaration
[JsonPropertyName("has_rain_capable_tire_types")]
public bool HasRainCapableTireTypes { get; set; }
Property Value
Type Description
bool

Hp

Declaration
[JsonPropertyName("hp")]
public int Hp { get; set; }
Property Value
Type Description
int

IsPsPurchasable

Declaration
[JsonPropertyName("is_ps_purchasable")]
public bool IsPsPurchasable { get; set; }
Property Value
Type Description
bool

MaxPowerAdjustPct

Declaration
[JsonPropertyName("max_power_adjust_pct")]
public int MaxPowerAdjustPct { get; set; }
Property Value
Type Description
int

MaxWeightPenaltyKg

Declaration
[JsonPropertyName("max_weight_penalty_kg")]
public int MaxWeightPenaltyKg { get; set; }
Property Value
Type Description
int

MinPowerAdjustPct

Declaration
[JsonPropertyName("min_power_adjust_pct")]
public int MinPowerAdjustPct { get; set; }
Property Value
Type Description
int

PackageId

Declaration
[JsonPropertyName("package_id")]
public int PackageId { get; set; }
Property Value
Type Description
int

PaintRules

Declaration
[JsonPropertyName("paint_rules")]
public PaintRules PaintRules { get; set; }
Property Value
Type Description
PaintRules

Patterns

Declaration
[JsonPropertyName("patterns")]
public int Patterns { get; set; }
Property Value
Type Description
int

Price

Declaration
[JsonPropertyName("price")]
public float Price { get; set; }
Property Value
Type Description
float

PriceDisplay

Declaration
[JsonPropertyName("price_display")]
public string PriceDisplay { get; set; }
Property Value
Type Description
string

RainEnabled

Declaration
[JsonPropertyName("rain_enabled")]
public bool RainEnabled { get; set; }
Property Value
Type Description
bool

Retired

Declaration
[JsonPropertyName("retired")]
public bool Retired { get; set; }
Property Value
Type Description
bool

SearchFilters

Declaration
[JsonPropertyName("search_filters")]
public string SearchFilters { get; set; }
Property Value
Type Description
string

SiteUrl

Declaration
[JsonPropertyName("site_url")]
[JsonConverter(typeof(UriConverter))]
public Uri? SiteUrl { get; set; }
Property Value
Type Description
Uri

Sku

Declaration
[JsonPropertyName("sku")]
public int Sku { get; set; }
Property Value
Type Description
int
In this article
Back to top Generated by DocFX