WIP: Major update #45
@ -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;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user