AK.F1.Timing.Messages.Driver.SetDriverStatusMessage.SetDriverStatusMessage C# (CSharp) Method

SetDriverStatusMessage() public method

Initialises a new instance of the SetDriverStatusMessage class and specifies if the Id of the driver and the driver's status.
/// Thrown when is not positive. ///
public SetDriverStatusMessage ( int driverId, DriverStatus driverStatus ) : System
driverId int The Id of the driver.
driverStatus DriverStatus The driver's new status.
return System
        public SetDriverStatusMessage(int driverId, DriverStatus driverStatus)
            : base(driverId)
        {
            DriverStatus = driverStatus;
        }