Struct SessionTransitionCapture
- Namespace
- rF2SharedMemoryNet.RF2Data.Structs
- Assembly
- rF2SharedMemoryNet.dll
Represents a snapshot of session transition data in rFactor 2, including game phase, session information, and scoring details for vehicles.
public struct SessionTransitionCapture
- Inherited Members
Remarks
This structure is used to capture and transfer information about the current state of a session in rFactor 2. It includes details about the game phase, session identifier, and scoring data for vehicles participating in the session.
Fields
GamePhase
Represents the current phase of the game.
public byte GamePhase
Field Value
NumScoringVehicles
Represents the number of scoring vehicles in the current context.
public int NumScoringVehicles
Field Value
ScoringVehicles
Represents an array of vehicle scoring data for mapped vehicles.
public VehicleScoringCapture[] ScoringVehicles
Field Value
Remarks
The array contains scoring information for up to MAX_MAPPED_VEHICLES vehicles. Each element in the array corresponds to a specific vehicle's scoring data.
Session
Represents the current session identifier.
public int Session