diff --git a/OWTrack/Tracker.cs b/OWTrack/Tracker.cs index a8a2e54..5bc5e5d 100644 --- a/OWTrack/Tracker.cs +++ b/OWTrack/Tracker.cs @@ -174,6 +174,7 @@ namespace OWTrack class Session { + public int wins, losses; public int TotalMatches; public int SkillChange; public int StartSR; @@ -206,6 +207,10 @@ namespace OWTrack match.LastMatchSR = this.Matches.Last().newSR; this.Matches.Add(match); this.TotalMatches = Matches.Count(); + if (match.IsWin) + wins++; + else + losses++; } } @@ -213,6 +218,7 @@ namespace OWTrack { public Match() { } public DateTime dateTime { get; set; } + public bool IsWin;//to be used. public string DateTimeSting; public int StartSR; public int LastMatchSR;