stats class. Incomplete. Add In VS

This commit is contained in:
HeshamTB 2018-12-23 20:52:07 +03:00
parent 74cd192c8a
commit a2d7f8f888

32
OWTrack/Statistics.cs Normal file
View File

@ -0,0 +1,32 @@
using System;
using System.IO;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace OWTrack
{
public class Statistics
{
private Tracker tr;
public Statistics(Tracker tr)
{
this.tr = tr;
}
public int GetTotalSkillChange()
{
int change = 0;
foreach (var Session in tr.sessions)
{
if (Session.Matches.Count != 0)
{
foreach (var match in Session.Matches)
{
}
}
}
}
}
}