-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGameState.cs
46 lines (42 loc) · 1.01 KB
/
GameState.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
using System.Collections.Generic;
using System.Runtime.Serialization;
using Shared;
namespace TypeRacingService
{
[DataContract]
public class GameState
{
/// <summary>
/// Gets or sets the state id.
/// </summary>
/// <value>
/// The state id.
/// </value>
[DataMember]
public int StateId { get; set; }
/// <summary>
/// Gets or sets the race.
/// </summary>
/// <value>
/// The race.
/// </value>
[DataMember]
public RaceInfo Race { get; set; }
/// <summary>
/// Gets or sets the players.
/// </summary>
/// <value>
/// The players.
/// </value>
[DataMember]
public IList<PlayerInfo> Players { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
/// <value>
/// The status.
/// </value>
[DataMember]
public RaceStatus Status { get; set; }
}
}