Documentation ¶
Index ¶
- type AeroBalanceCalc
- type CameraInfo
- type Cameras
- type CarSetup
- type Chassis
- type DriverInfo
- type Drivers
- type Frequencies
- type Front
- type Groups
- type InCarDials
- type LeftFront
- type LeftRear
- type QualifyResultsInfo
- type RadioInfo
- type Radios
- type Rear
- type Results
- type ResultsFastestLap
- type ResultsPositions
- type RightFront
- type RightRear
- type Sectors
- type SessionData
- type SessionInfo
- type Sessions
- type SplitTimeInfo
- type Suspension
- type SuspensionFront
- type SuspensionLeftFront
- type SuspensionLeftRear
- type SuspensionRear
- type SuspensionRightFront
- type SuspensionRightRear
- type TelemetryOptions
- type TiresAero
- type TiresAeroLeftFront
- type TiresAeroLeftRear
- type TiresAeroRightFront
- type TiresAeroRightRear
- type WeekendInfo
- type WeekendOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AeroBalanceCalc ¶
type CameraInfo ¶
type CameraInfo struct {
Groups []Groups `yaml:"Groups"`
}
type CarSetup ¶
type CarSetup struct { UpdateCount int `yaml:"UpdateCount"` TiresAero TiresAero `yaml:"TiresAero"` Chassis Chassis `yaml:"Chassis"` Suspension Suspension `yaml:"Suspension"` }
type Chassis ¶
type Chassis struct { Front Front `yaml:"Front"` LeftFront LeftFront `yaml:"LeftFront"` LeftRear LeftRear `yaml:"LeftRear"` InCarDials InCarDials `yaml:"InCarDials"` RightFront RightFront `yaml:"RightFront"` RightRear RightRear `yaml:"RightRear"` Rear Rear `yaml:"Rear"` }
type DriverInfo ¶
type DriverInfo struct { DriverCarIdx int `yaml:"DriverCarIdx"` DriverUserID int `yaml:"DriverUserID"` PaceCarIdx int `yaml:"PaceCarIdx"` DriverHeadPosX float64 `yaml:"DriverHeadPosX"` DriverHeadPosY float64 `yaml:"DriverHeadPosY"` DriverHeadPosZ float64 `yaml:"DriverHeadPosZ"` DriverCarIdleRPM int `yaml:"DriverCarIdleRPM"` DriverCarRedLine int `yaml:"DriverCarRedLine"` DriverCarEngCylinderCount int `yaml:"DriverCarEngCylinderCount"` DriverCarFuelKgPerLtr float64 `yaml:"DriverCarFuelKgPerLtr"` DriverCarFuelMaxLtr int `yaml:"DriverCarFuelMaxLtr"` DriverCarMaxFuelPct int `yaml:"DriverCarMaxFuelPct"` DriverCarSLFirstRPM int `yaml:"DriverCarSLFirstRPM"` DriverCarSLShiftRPM int `yaml:"DriverCarSLShiftRPM"` DriverCarSLLastRPM int `yaml:"DriverCarSLLastRPM"` DriverCarSLBlinkRPM int `yaml:"DriverCarSLBlinkRPM"` DriverCarVersion string `yaml:"DriverCarVersion"` DriverPitTrkPct float64 `yaml:"DriverPitTrkPct"` DriverCarEstLapTime float64 `yaml:"DriverCarEstLapTime"` DriverSetupName string `yaml:"DriverSetupName"` DriverSetupIsModified int `yaml:"DriverSetupIsModified"` DriverSetupLoadTypeName string `yaml:"DriverSetupLoadTypeName"` DriverSetupPassedTech int `yaml:"DriverSetupPassedTech"` DriverIncidentCount int `yaml:"DriverIncidentCount"` Drivers []Drivers `yaml:"Drivers"` }
type Drivers ¶
type Drivers struct { CarIdx int `yaml:"CarIdx"` UserName string `yaml:"UserName"` AbbrevName string `yaml:"AbbrevName"` Initials string `yaml:"Initials"` UserID int `yaml:"UserID"` TeamID int `yaml:"TeamID"` TeamName string `yaml:"TeamName"` CarNumber string `yaml:"CarNumber"` CarNumberRaw int `yaml:"CarNumberRaw"` CarPath string `yaml:"CarPath"` CarClassID int `yaml:"CarClassID"` CarID int `yaml:"CarID"` CarIsPaceCar int `yaml:"CarIsPaceCar"` CarIsAI int `yaml:"CarIsAI"` CarScreenName string `yaml:"CarScreenName"` CarScreenNameShort string `yaml:"CarScreenNameShort"` CarClassShortName string `yaml:"CarClassShortName"` CarClassRelSpeed int `yaml:"CarClassRelSpeed"` CarClassLicenseLevel int `yaml:"CarClassLicenseLevel"` CarClassMaxFuelPct string `yaml:"CarClassMaxFuelPct"` CarClassWeightPenalty string `yaml:"CarClassWeightPenalty"` CarClassPowerAdjust string `yaml:"CarClassPowerAdjust"` CarClassDryTireSetLimit string `yaml:"CarClassDryTireSetLimit"` CarClassColor int `yaml:"CarClassColor"` IRating int `yaml:"IRating"` LicLevel int `yaml:"LicLevel"` LicSubLevel int `yaml:"LicSubLevel"` LicString string `yaml:"LicString"` LicColor string `yaml:"LicColor"` // Todo investigate returned: 0xundefined IsSpectator int `yaml:"IsSpectator"` CarDesignStr string `yaml:"CarDesignStr"` HelmetDesignStr string `yaml:"HelmetDesignStr"` SuitDesignStr string `yaml:"SuitDesignStr"` CarNumberDesignStr string `yaml:"CarNumberDesignStr"` CarSponsor1 int `yaml:"CarSponsor_1"` CarSponsor2 int `yaml:"CarSponsor_2"` ClubName string `yaml:"ClubName"` DivisionName string `yaml:"DivisionName"` CurDriverIncidentCount int `yaml:"CurDriverIncidentCount"` TeamIncidentCount int `yaml:"TeamIncidentCount"` }
type Frequencies ¶
type Frequencies struct { FrequencyNum int `yaml:"FrequencyNum"` FrequencyName string `yaml:"FrequencyName"` Priority int `yaml:"Priority"` CarIdx int `yaml:"CarIdx"` EntryIdx int `yaml:"EntryIdx"` ClubID int `yaml:"ClubID"` CanScan int `yaml:"CanScan"` CanSquawk int `yaml:"CanSquawk"` Muted int `yaml:"Muted"` IsMutable int `yaml:"IsMutable"` IsDeletable int `yaml:"IsDeletable"` }
type InCarDials ¶
type LeftFront ¶
type LeftFront struct { CornerWeight string `yaml:"CornerWeight"` RideHeight string `yaml:"RideHeight"` SpringPerchOffset string `yaml:"SpringPerchOffset"` SpringRate string `yaml:"SpringRate"` LsCompDamping string `yaml:"LsCompDamping"` HsCompDamping string `yaml:"HsCompDamping"` LsRbdDamping string `yaml:"LsRbdDamping"` HsRbdDamping string `yaml:"HsRbdDamping"` Camber string `yaml:"Camber"` Caster string `yaml:"Caster"` }
type LeftRear ¶
type LeftRear struct { CornerWeight string `yaml:"CornerWeight"` RideHeight string `yaml:"RideHeight"` SpringPerchOffset string `yaml:"SpringPerchOffset"` SpringRate string `yaml:"SpringRate"` LsCompDamping string `yaml:"LsCompDamping"` HsCompDamping string `yaml:"HsCompDamping"` LsRbdDamping string `yaml:"LsRbdDamping"` HsRbdDamping string `yaml:"HsRbdDamping"` Camber string `yaml:"Camber"` ToeIn string `yaml:"ToeIn"` }
type QualifyResultsInfo ¶
type QualifyResultsInfo struct {
Results []Results `yaml:"Results"`
}
type ResultsFastestLap ¶
type ResultsPositions ¶
type ResultsPositions struct { Position int `yaml:"Position"` ClassPosition int `yaml:"ClassPosition"` CarIdx int `yaml:"CarIdx"` Lap int `yaml:"Lap"` Time float64 `yaml:"Time"` FastestLap int `yaml:"FastestLap"` FastestTime float64 `yaml:"FastestTime"` LastTime int `yaml:"LastTime"` LapsLed int `yaml:"LapsLed"` LapsComplete int `yaml:"LapsComplete"` JokerLapsComplete int `yaml:"JokerLapsComplete"` LapsDriven int `yaml:"LapsDriven"` Incidents int `yaml:"Incidents"` ReasonOutID int `yaml:"ReasonOutId"` ReasonOutStr string `yaml:"ReasonOutStr"` }
type RightFront ¶
type RightFront struct { CornerWeight string `yaml:"CornerWeight"` RideHeight string `yaml:"RideHeight"` SpringPerchOffset string `yaml:"SpringPerchOffset"` SpringRate string `yaml:"SpringRate"` LsCompDamping string `yaml:"LsCompDamping"` HsCompDamping string `yaml:"HsCompDamping"` LsRbdDamping string `yaml:"LsRbdDamping"` HsRbdDamping string `yaml:"HsRbdDamping"` Camber string `yaml:"Camber"` Caster string `yaml:"Caster"` }
type RightRear ¶
type RightRear struct { CornerWeight string `yaml:"CornerWeight"` RideHeight string `yaml:"RideHeight"` SpringPerchOffset string `yaml:"SpringPerchOffset"` SpringRate string `yaml:"SpringRate"` LsCompDamping string `yaml:"LsCompDamping"` HsCompDamping string `yaml:"HsCompDamping"` LsRbdDamping string `yaml:"LsRbdDamping"` HsRbdDamping string `yaml:"HsRbdDamping"` Camber string `yaml:"Camber"` ToeIn string `yaml:"ToeIn"` }
type SessionData ¶
type SessionData struct { WeekendInfo WeekendInfo `yaml:"WeekendInfo"` SessionInfo SessionInfo `yaml:"SessionInfo"` CameraInfo CameraInfo `yaml:"CameraInfo"` RadioInfo RadioInfo `yaml:"RadioInfo"` DriverInfo DriverInfo `yaml:"DriverInfo"` SplitTimeInfo SplitTimeInfo `yaml:"SplitTimeInfo"` CarSetup CarSetup `yaml:"CarSetup"` QualifyResultsInfo QualifyResultsInfo `yaml:"QualifyResultsInfo"` }
type SessionInfo ¶
type SessionInfo struct {
Sessions []Sessions `yaml:"Sessions"`
}
type Sessions ¶
type Sessions struct { SessionNum int `yaml:"SessionNum"` SessionLaps string `yaml:"SessionLaps"` SessionTime string `yaml:"SessionTime"` SessionNumLapsToAvg int `yaml:"SessionNumLapsToAvg"` SessionType string `yaml:"SessionType"` SessionTrackRubberState string `yaml:"SessionTrackRubberState"` SessionName string `yaml:"SessionName"` SessionSubType interface{} `yaml:"SessionSubType"` SessionSkipped int `yaml:"SessionSkipped"` SessionRunGroupsUsed int `yaml:"SessionRunGroupsUsed"` ResultsPositions []ResultsPositions `yaml:"ResultsPositions"` ResultsFastestLap []ResultsFastestLap `yaml:"ResultsFastestLap"` ResultsAverageLapTime int `yaml:"ResultsAverageLapTime"` ResultsNumCautionFlags int `yaml:"ResultsNumCautionFlags"` ResultsNumCautionLaps int `yaml:"ResultsNumCautionLaps"` ResultsNumLeadChanges int `yaml:"ResultsNumLeadChanges"` ResultsLapsComplete int `yaml:"ResultsLapsComplete"` ResultsOfficial int `yaml:"ResultsOfficial"` }
type SplitTimeInfo ¶
type SplitTimeInfo struct {
Sectors []Sectors `yaml:"Sectors"`
}
type Suspension ¶
type Suspension struct { Front SuspensionFront `yaml:"Front"` LeftFront SuspensionLeftFront `yaml:"LeftFront"` LeftRear SuspensionLeftRear `yaml:"LeftRear"` RightFront SuspensionRightFront `yaml:"RightFront"` RightRear SuspensionRightRear `yaml:"RightRear"` Rear SuspensionRear `yaml:"Rear"` }
type SuspensionFront ¶
type SuspensionLeftFront ¶
type SuspensionLeftFront struct { ColdPressure string `yaml:"ColdPressure"` LastHotPressure string `yaml:"LastHotPressure"` LastTempsOMI string `yaml:"LastTempsOMI"` TreadRemaining string `yaml:"TreadRemaining"` CornerWeight string `yaml:"CornerWeight"` RideHeight string `yaml:"RideHeight"` SpringPerchOffset string `yaml:"SpringPerchOffset"` BumpStiffness string `yaml:"BumpStiffness"` ReboundStiffness string `yaml:"ReboundStiffness"` Camber string `yaml:"Camber"` }
type SuspensionLeftRear ¶
type SuspensionLeftRear struct { ColdPressure string `yaml:"ColdPressure"` LastHotPressure string `yaml:"LastHotPressure"` LastTempsOMI string `yaml:"LastTempsOMI"` TreadRemaining string `yaml:"TreadRemaining"` CornerWeight string `yaml:"CornerWeight"` RideHeight string `yaml:"RideHeight"` SpringPerchOffset string `yaml:"SpringPerchOffset"` BumpStiffness string `yaml:"BumpStiffness"` ReboundStiffness string `yaml:"ReboundStiffness"` Camber string `yaml:"Camber"` }
type SuspensionRear ¶
type SuspensionRightFront ¶
type SuspensionRightFront struct { ColdPressure string `yaml:"ColdPressure"` LastHotPressure string `yaml:"LastHotPressure"` LastTempsIMO string `yaml:"LastTempsIMO"` TreadRemaining string `yaml:"TreadRemaining"` CornerWeight string `yaml:"CornerWeight"` RideHeight string `yaml:"RideHeight"` SpringPerchOffset string `yaml:"SpringPerchOffset"` BumpStiffness string `yaml:"BumpStiffness"` ReboundStiffness string `yaml:"ReboundStiffness"` Camber string `yaml:"Camber"` }
type SuspensionRightRear ¶
type SuspensionRightRear struct { ColdPressure string `yaml:"ColdPressure"` LastHotPressure string `yaml:"LastHotPressure"` LastTempsIMO string `yaml:"LastTempsIMO"` TreadRemaining string `yaml:"TreadRemaining"` CornerWeight string `yaml:"CornerWeight"` RideHeight string `yaml:"RideHeight"` SpringPerchOffset string `yaml:"SpringPerchOffset"` BumpStiffness string `yaml:"BumpStiffness"` ReboundStiffness string `yaml:"ReboundStiffness"` Camber string `yaml:"Camber"` }
type TelemetryOptions ¶
type TelemetryOptions struct {
TelemetryDiskFile string `yaml:"TelemetryDiskFile"`
}
type TiresAero ¶
type TiresAero struct { LeftFront TiresAeroLeftFront `yaml:"LeftFront"` LeftRear TiresAeroLeftRear `yaml:"LeftRear"` RightFront TiresAeroRightFront `yaml:"RightFront"` RightRear TiresAeroRightRear `yaml:"RightRear"` AeroBalanceCalc AeroBalanceCalc `yaml:"AeroBalanceCalc"` }
type TiresAeroLeftFront ¶
type TiresAeroLeftRear ¶
type TiresAeroRightFront ¶
type TiresAeroRightRear ¶
type WeekendInfo ¶
type WeekendInfo struct { TrackName string `yaml:"TrackName"` TrackID int `yaml:"TrackID"` TrackLength string `yaml:"TrackLength"` TrackDisplayName string `yaml:"TrackDisplayName"` TrackDisplayShortName string `yaml:"TrackDisplayShortName"` TrackConfigName string `yaml:"TrackConfigName"` TrackCity string `yaml:"TrackCity"` TrackCountry string `yaml:"TrackCountry"` TrackAltitude string `yaml:"TrackAltitude"` TrackLatitude string `yaml:"TrackLatitude"` TrackLongitude string `yaml:"TrackLongitude"` TrackNorthOffset string `yaml:"TrackNorthOffset"` TrackNumTurns int `yaml:"TrackNumTurns"` TrackPitSpeedLimit string `yaml:"TrackPitSpeedLimit"` TrackType string `yaml:"TrackType"` TrackDirection string `yaml:"TrackDirection"` TrackWeatherType string `yaml:"TrackWeatherType"` TrackSkies string `yaml:"TrackSkies"` TrackSurfaceTemp string `yaml:"TrackSurfaceTemp"` TrackAirTemp string `yaml:"TrackAirTemp"` TrackAirPressure string `yaml:"TrackAirPressure"` TrackWindVel string `yaml:"TrackWindVel"` TrackWindDir string `yaml:"TrackWindDir"` TrackRelativeHumidity string `yaml:"TrackRelativeHumidity"` TrackFogLevel string `yaml:"TrackFogLevel"` TrackCleanup int `yaml:"TrackCleanup"` TrackDynamicTrack int `yaml:"TrackDynamicTrack"` TrackVersion string `yaml:"TrackVersion"` SeriesID int `yaml:"SeriesID"` SeasonID int `yaml:"SeasonID"` SessionID int `yaml:"SessionID"` SubSessionID int `yaml:"SubSessionID"` LeagueID int `yaml:"LeagueID"` Official int `yaml:"Official"` RaceWeek int `yaml:"RaceWeek"` EventType string `yaml:"EventType"` Category string `yaml:"Category"` SimMode string `yaml:"SimMode"` TeamRacing int `yaml:"TeamRacing"` MinDrivers int `yaml:"MinDrivers"` MaxDrivers int `yaml:"MaxDrivers"` DCRuleSet string `yaml:"DCRuleSet"` QualifierMustStartRace int `yaml:"QualifierMustStartRace"` NumCarClasses int `yaml:"NumCarClasses"` NumCarTypes int `yaml:"NumCarTypes"` HeatRacing int `yaml:"HeatRacing"` BuildType string `yaml:"BuildType"` BuildTarget string `yaml:"BuildTarget"` BuildVersion string `yaml:"BuildVersion"` WeekendOptions WeekendOptions `yaml:"WeekendOptions"` TelemetryOptions TelemetryOptions `yaml:"TelemetryOptions"` }
type WeekendOptions ¶
type WeekendOptions struct { NumStarters int `yaml:"NumStarters"` StartingGrid string `yaml:"StartingGrid"` QualifyScoring string `yaml:"QualifyScoring"` CourseCautions string `yaml:"CourseCautions"` StandingStart int `yaml:"StandingStart"` ShortParadeLap int `yaml:"ShortParadeLap"` Restarts string `yaml:"Restarts"` WeatherType string `yaml:"WeatherType"` Skies string `yaml:"Skies"` WindDirection string `yaml:"WindDirection"` WindSpeed string `yaml:"WindSpeed"` WeatherTemp string `yaml:"WeatherTemp"` RelativeHumidity string `yaml:"RelativeHumidity"` FogLevel string `yaml:"FogLevel"` TimeOfDay string `yaml:"TimeOfDay"` Date time.Time `yaml:"Date"` EarthRotationSpeedupFactor int `yaml:"EarthRotationSpeedupFactor"` Unofficial int `yaml:"Unofficial"` CommercialMode string `yaml:"CommercialMode"` NightMode string `yaml:"NightMode"` IsFixedSetup int `yaml:"IsFixedSetup"` StrictLapsChecking string `yaml:"StrictLapsChecking"` HasOpenRegistration int `yaml:"HasOpenRegistration"` HardcoreLevel int `yaml:"HardcoreLevel"` NumJokerLaps int `yaml:"NumJokerLaps"` IncidentLimit string `yaml:"IncidentLimit"` FastRepairsLimit string `yaml:"FastRepairsLimit"` GreenWhiteCheckeredLimit int `yaml:"GreenWhiteCheckeredLimit"` }
Click to show internal directories.
Click to hide internal directories.