Enum YellowFlagState
- Namespace
- rF2SharedMemoryNet.RF2Data.Enums
- Assembly
- rF2SharedMemoryNet.dll
Represents the various states of a yellow flag during a race.
public enum YellowFlagState
Fields
Invalid state, used for error handling or uninitialized values.
Last lap of Yellow Flag
Normal racing conditions without any yellow flag.
Pending yellow flag state, indicating that a yellow flag condition is about to be applied.
Lead allowed to pit
Pits are closed, typically during a yellow flag condition to prevent pit stops.
Pits are open, allowing vehicles to enter the pits during a yellow flag condition.
Race is halted
Resume racing after a yellow flag condition has been cleared or resolved.
Remarks
The YellowFlagState enum defines the progression of states that occur during a yellow flag scenario. These states are used to manage race conditions, such as closing pits, opening pits, and resuming racing.