WIP: Major update #45
@ -174,6 +174,7 @@ namespace OWTrack
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    class Session
 | 
					    class Session
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					        public int wins, losses;
 | 
				
			||||||
        public int TotalMatches;
 | 
					        public int TotalMatches;
 | 
				
			||||||
        public int SkillChange;
 | 
					        public int SkillChange;
 | 
				
			||||||
        public int StartSR;
 | 
					        public int StartSR;
 | 
				
			||||||
@ -206,6 +207,10 @@ namespace OWTrack
 | 
				
			|||||||
            match.LastMatchSR = this.Matches.Last().newSR;
 | 
					            match.LastMatchSR = this.Matches.Last().newSR;
 | 
				
			||||||
            this.Matches.Add(match);
 | 
					            this.Matches.Add(match);
 | 
				
			||||||
            this.TotalMatches = Matches.Count();
 | 
					            this.TotalMatches = Matches.Count();
 | 
				
			||||||
 | 
					            if (match.IsWin)
 | 
				
			||||||
 | 
					                wins++;
 | 
				
			||||||
 | 
					            else
 | 
				
			||||||
 | 
					                losses++;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -213,6 +218,7 @@ namespace OWTrack
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
        public Match() { }
 | 
					        public Match() { }
 | 
				
			||||||
        public DateTime dateTime { get; set; }
 | 
					        public DateTime dateTime { get; set; }
 | 
				
			||||||
 | 
					        public bool IsWin;//to be used. 
 | 
				
			||||||
        public string DateTimeSting;
 | 
					        public string DateTimeSting;
 | 
				
			||||||
        public int StartSR;
 | 
					        public int StartSR;
 | 
				
			||||||
        public int LastMatchSR;
 | 
					        public int LastMatchSR;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user