ArgData

API Reference > 0.19.1 > CarSet

CarSet Class

A CarSet represents a set of teams and drivers that can be exported together to a GP.EXE.

Namespace: ArgData.Entities

Constructors

Name Description
CarSet() Initializes a new instance of a CarSet.

Properties

Name Description
Teams List of 18 teams.

Methods

Name Description
Drivers() Get all Drivers as a single list.
Export(ImportExportSettings settings, GpExeFile exeFile) Exports the CarSet to the specified GP.EXE file.

Does not create or set a name file to use.
settings: ImportExportSettings defining what to export.
exeFile: GpExeFile.
Export(ImportExportSettings settings, GpExeFile exeFile, PreferencesFile preferencesFile, String nameFilePath) Exports the CarSet to the specified GP.EXE file.

Only exports the items that have been set to true in the provided ImportExportSettings.
Will create the name file specified in nameFilePath, and set it to load automatically.
settings: ImportExportSettings defining what to export.
exeFile: GpExeFile
preferencesFile: PreferencesFile.
nameFilePath: Relative path to the name file to create.
Import(GpExeFile exeFile, NameFile nameFile) Imports all settings into the current CarSet object.
exeFile: GpExeFile to import data from.
nameFile: NameFile to import team and driver names from.
Import(ImportExportSettings settings, GpExeFile exeFile, NameFile nameFile) Imports the specified settings into the current CarSet object.
settings: ImportExportSettings defining what to import.
exeFile: GpExeFile to import data from.
nameFile: NameFile to import team and driver names from.
Import(CarSet carSet, ImportExportSettings settings, GpExeFile exeFile, NameFile nameFile) Imports the specified settings into an existing CarSet object.
carSet: CarSet to import data into.
settings: ImportExportSettings defining what to import.
exeFile: GpExeFile to import data from.
nameFile: NameFile to import team and driver names from.