Skip to content

Commit

Permalink
Merge pull request #74 from SSchulze1989/feature/disqualification
Browse files Browse the repository at this point in the history
Feature/disqualification
  • Loading branch information
SSchulze1989 authored Oct 29, 2023
2 parents 45d2163 + e74a51f commit e871d1d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/iRLeagueApiCore.Common/Enums/PenaltyType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ public enum PenaltyType
Points,
Position,
Time,
Disqualification,
}
4 changes: 2 additions & 2 deletions src/iRLeagueApiCore.Common/Enums/RaceStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace iRLeagueApiCore.Common.Enums;
public enum RaceStatus
{
Running,
Disconnected,
Disqualified,
Disconnected = 32,
Disqualified = 29,
Unknown
}
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public class ResultRowModel
/// Driver status at the end of the race (checkered flag)
/// </summary>
[DataMember]
public int Status { get; set; }
public RaceStatus Status { get; set; }
/// <summary>
/// Time set in qualifying (only available with attached qualy)
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<OutputType>Library</OutputType>
<TargetFramework>net6.0</TargetFramework>
<PackageId>iRLeagueApiCore.Common</PackageId>
<Version>0.10.0-dev.8</Version>
<Version>0.10.0-dev.10</Version>
<Authors>Simon Schulze</Authors>
<Company>Simon Schulze</Company>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down

0 comments on commit e871d1d

Please sign in to comment.