Table of Contents

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

byte

NumScoringVehicles

Represents the number of scoring vehicles in the current context.

public int NumScoringVehicles

Field Value

int

ScoringVehicles

Represents an array of vehicle scoring data for mapped vehicles.

public VehicleScoringCapture[] ScoringVehicles

Field Value

VehicleScoringCapture[]

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

Field Value

int