Example #1
0
        public ProjectCarsStateData(pCarsDataClass projectCarsData)
        {
            CarName       = projectCarsData.CarName;
            TrackLocation = projectCarsData.TrackLocation;
            TrackVariant  = projectCarsData.TrackVariant;

            LastLapTime    = projectCarsData.LastLapTime;
            LapInvalidated = projectCarsData.LapInvalidated;

            GameState    = projectCarsData.GameState;
            SessionState = projectCarsData.SessionState;
            RaceState    = projectCarsData.RaceState;
        }
Example #2
0
 public ProjectCarsDataModel()
 {
     GameData = new pCarsDataClass();
 }
 public ChallengeResult(pCarsDataClass projectCarsData)
 {
     TrackLocationAndVariant = projectCarsData.TrackLocation + " " + projectCarsData.TrackVariant;
     CarName          = projectCarsData.CarName;
     LastValidLapTime = TimeSpan.FromSeconds(projectCarsData.LastLapTime);;
 }