Struct PitMenu
- Namespace
- rF2SharedMemoryNet.RF2Data.Structs
- Assembly
- rF2SharedMemoryNet.dll
Represents the current state of the pit menu in rFactor 2, including category and choice information.
public struct PitMenu
- Inherited Members
Remarks
This structure provides details about the currently selected category and choice in the pit menu, as well as the total number of available choices. It also includes fields for future expansion.
Fields
CategoryIndex
Represents the index of the current category.
public int CategoryIndex
Field Value
CategoryName
Represents the name of the current category in untranslated form.
public byte[] CategoryName
Field Value
- byte[]
ChoiceIndex
Represents the index of the current choice within the current category.
public int ChoiceIndex
Field Value
ChoiceString
Represents the name of the current choice, which may include translated words.
public byte[] ChoiceString
Field Value
- byte[]
Expansion
Reserved for future use.
public byte[] Expansion
Field Value
- byte[]
NumChoices
Represents the total number of choices available.
public int NumChoices