Table of Contents

Enum TrackRulesCommand

Namespace
rF2SharedMemoryNet.RF2Data.Enums
Assembly
rF2SharedMemoryNet.dll

Represents the set of commands used to manage vehicle behavior and penalties during a full-course yellow in RF2.

public enum TrackRulesCommand

Fields

AddFromPit = 1

Exited pit during full-course yellow

AddFromTrack = 0

Crossed s/f line for first time after full-course yellow was called

AddFromUndq = 2

During a full-course yellow, the admin reversed a disqualification

LongestTime = 8

Misbehavior during full-course yellow, resulting in the penalty of being moved to the back of the longest line

Maximum = 9

Maximum number of commands defined.

MoveToBack = 7

Misbehavior during full-course yellow, resulting in the penalty of being moved to the back of their current line

RemoveToDnf = 4

Vehicle DNF'd during full-course yellow

RemoveToDq = 5

Vehicle DQ'd during full-course yellow

RemoveToPit = 3

Entered pit during full-course yellow

RemoveToUnloaded = 6

Vehicle unloaded (possibly kicked out or banned) during full-course yellow

Remarks

This enumeration defines commands for adding, removing, or penalizing vehicles based on their actions during a full-course yellow. Commands are typically used to enforce race rules and manage vehicle states.