Skip to content

Commit

Permalink
More fixes on ViewModels and new Enums
Browse files Browse the repository at this point in the history
  • Loading branch information
gvescu committed Jul 16, 2023
1 parent 6b91e27 commit 92df875
Show file tree
Hide file tree
Showing 10 changed files with 551 additions and 116 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"dotnet.defaultSolution": "F1Sharp.sln"
}
10 changes: 6 additions & 4 deletions F1Sharp/Data/ParticipantData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ public struct ParticipantData
/// </summary>
public byte networkId;
/// <summary>
/// Team ID
/// <para>Team ID</para>
/// <para>See <see cref="Team"/> for the list of teams.</para>
/// </summary>
public byte teamId;
public Team teamId;
/// <summary>
/// Whether it's My Team (1) or otherwise (0)
/// </summary>
Expand All @@ -33,9 +34,10 @@ public struct ParticipantData
/// </summary>
public byte raceNumber;
/// <summary>
/// Nationality of the driver
/// <para>Nationality of the driver </para>
/// <para>See <see cref="Nationality"/> for the list of nationalities.</para>
/// </summary>
public byte nationality;
public Nationality nationality;
/// <summary>
/// Name of the participant
/// </summary>
Expand Down
Loading

0 comments on commit 92df875

Please sign in to comment.