ArgData

API Reference > 0.19 > PitCrew

PitCrew Class

Represents the colors of the pit crew.

Namespace: ArgData.Entities

Constructors

Name Description
PitCrew() Initializes a new instance of a PitCrew with all colors set to 0 (black).
PitCrew(Byte[] pitCrewColorBytes) Initializes a new instance of a PitCrew with the specified colors.
pitCrewColorBytes: The colors to set. Must be exactly 16.

Properties

Name Description
PantsPrimary Gets or sets the primary pants color.
PantsSecondary Gets or sets the secondary pants color.
ShirtPrimary Gets or sets the primary shirt color.
ShirtSecondary Gets or sets the secondary shirt color.
Socks Gets or sets the color of the socks.

Methods

Name Description
Copy(PitCrew source) Copies all colors from the source into this PitCrew.
source: Source PitCrew to copy colors from.