Table of Contents

Enum GamePhase

Namespace
rF2SharedMemoryNet.RF2Data.Enums
Assembly
rF2SharedMemoryNet.dll

Represents the various phases of a racing session in rFactor2.

public enum GamePhase

Fields

Countdown = 4

Countdown to start

Formation = 3

Formation lap

FullCourseYellow = 6

Full course yellow flag

Garage = 0

In Garage

GreenFlag = 5

Green flag

GridWalk = 2

Grid walk

PausedOrHeartbeat = 9

Paused or heartbeat phase.

SessionOver = 8

Session is over

SessionStopped = 7

Session has stopped, e.g. due to a crash or manual stop

UnderBlueFlag = 11

Under blue flag conditions

UnderYellowFlag = 10

Under yellow flag conditions

WarmUp = 1

Warm-up phase

Remarks

This enumeration defines the distinct stages of a racing session, such as preparation, active racing, and post-session states. Use these values to determine the current phase of the session or to handle specific logic based on the session's state.